iwlwifi: mvm: configure wowlan configuration only if connected
authorEliad Peller <eliad@wizery.com>
Tue, 1 Sep 2015 11:16:00 +0000 (14:16 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 21 Sep 2015 15:08:45 +0000 (18:08 +0300)
commit183edd8484fd375d0f6d5e73b071c21b17243424
tree9f5abc6fee33e211c54e87fadc6b79518166f2ca
parentee6dbb29377f6055093cccefc0cd0ac2670b12b3
iwlwifi: mvm: configure wowlan configuration only if connected

Recent fw version added assert to make sure wowlan configuration
is configured only when a station is connected.

Change the driver behavior to pass this configuration only
if we indeed have ap station id (i.e. connected).

Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/iwlwifi/mvm/ops.c