]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: add suspend/resume callbacks
authorBob Copeland <me@bobcopeland.com>
Mon, 19 Jan 2009 16:20:53 +0000 (11:20 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 29 Jan 2009 21:00:52 +0000 (16:00 -0500)
commitc0c2781b3f42a6d899b1703c4375422de43d2e1c
treee6efab304166f0f4f30b75906930def19b1a3fb8
parentce6141a342a20a7c104d2681be9001ed5ca97386
mac80211: add suspend/resume callbacks

This patch introduces suspend and resume callbacks to mac80211,
allowing mac80211 to quiesce its state (bringing down interfaces,
removing keys, etc) in preparation for suspend.  cfg80211 will call
the suspend hook before the device suspend, and resume hook after
the device resume.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/Makefile
net/mac80211/cfg.c
net/mac80211/ieee80211_i.h
net/mac80211/pm.c [new file with mode: 0644]