ath9k: Check early for multi-vif/STA conditions
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Fri, 30 Jan 2015 13:35:24 +0000 (19:05 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 3 Feb 2015 13:31:00 +0000 (15:31 +0200)
commitdc4b277d51599453f9ebf8e117957c26187d5fce
tree33d8ccd434e60c8d4461f09aebd7f0988c0edb87
parent410b4e27992b7bc3ed8064dc9383eb66c1fee04d
ath9k: Check early for multi-vif/STA conditions

If multiple interfaces are active or there is no
associated station interface, bail out early and
return 1 so that mac80211 can proceed with the normal
suspend routine.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/wow.c