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)
commitaf87dd33a17151f46ae50a564a799f9ea9397539
tree5a4954f2285d9a707ccd1702829ea73e192325f3
parent4ee26de18d267170fe44ecb6cc4bafaa218b26e3
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