]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Use ath_chanctx_check_active properly
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Sat, 23 Aug 2014 07:59:21 +0000 (13:29 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 28 Aug 2014 18:49:38 +0000 (14:49 -0400)
commit0973e50ed2361a99f2d84845bd60b3173762a101
treeaf792fc5ab0c818ba182e65dd1dc6e904cd0e71d
parent050a545490a03d7332f304efedca06ca3308341d
ath9k: Use ath_chanctx_check_active properly

ath_chanctx_check_active() is required only when channel contexts
are used. Make sure that it is not called in normal usage.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/channel.c