]> Pileus Git - ~andy/linux/commit
mac80211: clean up association better in suspend
authorJohannes Berg <johannes.berg@intel.com>
Thu, 13 Dec 2012 16:16:45 +0000 (17:16 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 3 Jan 2013 12:01:34 +0000 (13:01 +0100)
commit529ba6e9313dbe60dab7e72c6fdf647a012e9f5b
treea556b0d18baf4309ebf705715440e702d5acb86b
parent61e8a48cc1283c8e4358b3ce06305d886c55f7ce
mac80211: clean up association better in suspend

When suspending, bss_info_changed() is called to
disable beacons, but managed mode interfaces are
simply removed (bss_info_changed() is called with
"no change" only). This can lead to problems.

To fix this and copy the BSS configuration, clear
it during suspend and restore it on resume.

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