mac80211: fix resume from WoWLAN
authorJohannes Berg <johannes.berg@intel.com>
Thu, 10 Jan 2013 22:55:33 +0000 (23:55 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 16 Jan 2013 14:18:37 +0000 (15:18 +0100)
commitd888130a024d1d1e8b2c3d0c9841a218fc0aed9e
tree144b2d1f832670a42578e827ab5c2b5a86d8e458
parent0ae997dc75efb60d47f0c71890f1e972f7d462c1
mac80211: fix resume from WoWLAN

My commit 529ba6e9313dbe60dab7e72c6fdf647a012e9f5b
("mac80211: clean up association better in suspend")
introduced a bug when resuming from WoWLAN when a
device reset is desired. This case must not use the
suspend_bss_conf as it hasn't been stored.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/util.c