]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Remove useless opmode check
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Mon, 15 Sep 2014 05:55:53 +0000 (11:25 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Sep 2014 19:00:54 +0000 (15:00 -0400)
commit513701c835bf9ed04a70416a285f1152f5c97248
tree5a4954f2285d9a707ccd1702829ea73e192325f3
parent0643749c655fc911feb77335e4c4f956aa97a4a3
ath9k: Remove useless opmode check

The opmode is verified to be NL80211_IFTYPE_STATION
before calling ath9k_set_assoc_state().

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