]> git.baikalelectronics.ru Git - kernel.git/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)
commit6862f73d1814bc3c77949db422bbe65e92a7f0db
treea556b0d18baf4309ebf705715440e702d5acb86b
parentbab6c9f00526fd7ac89c8509ff18eb666881da48
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