]> git.karo-electronics.de Git - linux-beck.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)
commita09798f4abb30f13f141e24ae496ba75e97995da
treeaf792fc5ab0c818ba182e65dd1dc6e904cd0e71d
parente90e302a15b85ed27bdc148be2eed50c8aaaee06
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