]> 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)
commitc08610c7672a707f9b48579010309979c194c1b9
tree5a4954f2285d9a707ccd1702829ea73e192325f3
parent008c86b81849ec31f81bb51d2e76b9eeaa08ac70
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