]> 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)
commit9f7eb32c25da946aea256050e59984f476245a33
treeaf792fc5ab0c818ba182e65dd1dc6e904cd0e71d
parentaa3553b35f4a72fd190810c2c5b9ee9f5f9f6501
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