mwifiex: avoid querying wakeup reason when wowlan is disabled
authorAmitkumar Karwar <akarwar@marvell.com>
Thu, 21 Apr 2016 15:07:56 +0000 (08:07 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 27 Apr 2016 13:52:00 +0000 (16:52 +0300)
commitd286af9bf40ab88f2035aef293f6ecae4187c6bb
treea72e5fded008f9ce479f12ac1f68af07d98f8311
parentdf2288623ee0ce77743d76ed8ca816e92246e77b
mwifiex: avoid querying wakeup reason when wowlan is disabled

In cfg80211 resume handler, we query wakeup reason from firmware and
report to cfg80211. if wowlan is disabled, connection is already
terminated during suspend. We don't need to query wakeup reason in this
case.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/cfg80211.c