ath9k: Remove redundant device_can_wakeup() check
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Fri, 30 Jan 2015 13:35:23 +0000 (19:05 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 3 Feb 2015 13:30:58 +0000 (15:30 +0200)
commit410b4e27992b7bc3ed8064dc9383eb66c1fee04d
tree83f830a825f6f99e009741f35491dcebb15d61bf
parent13084c2d18bfee72594ba3a969dfdd972544e644
ath9k: Remove redundant device_can_wakeup() check

WOW capability is registered with mac80211 only when
the device has the ability to wakeup, so there is no
need to check in the 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