]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
mac80211: resume properly, add suspend/resume test
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 13 Mar 2009 10:44:18 +0000 (11:44 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 28 Mar 2009 00:13:03 +0000 (20:13 -0400)
commit827b1fb44b7e41377a5498b9d070a11dfae2c283
tree5a54acadb35e35d64e4db0cfde5a7105c85916e2
parent3e3ccb3d9b8d5a1b65b34e1be2decf213ba3bebb
mac80211: resume properly, add suspend/resume test

When mac80211 resumes, it currently doesn't reconfigure the interfaces
entirely and also doesn't reconfigure BSS information -- fix this.

Also, to be able to test this, add a debugfs file that just calls
the suspend/resume code to see what happens when we go through that,
without needing the time-consuming suspend/resume cycle.

(Original version broke the build for CONFIG_PM=n.  Define alternative
functions for that situation. -- JWL)

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/debugfs.c
net/mac80211/ieee80211_i.h
net/mac80211/pm.c