]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: tear down BA sessions properly on suspend
authorJohannes Berg <johannes.berg@intel.com>
Thu, 21 Apr 2011 11:38:00 +0000 (13:38 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 25 Apr 2011 18:50:16 +0000 (14:50 -0400)
commit3ebd801cafb1d7d02c4ff0661ff01841250c553a
tree4a4163de4e22d610bb34b7cfc86fd69767c7645f
parentc4e8e5bc540a1af55166c626c631465c787d3b14
mac80211: tear down BA sessions properly on suspend

Currently, the code to tear down BA sessions will
execute after queues are stopped, but attempt to
send frames, so those frames will just get queued,
which isn't intended. Move this code to before to
tear down the sessions properly.

Additionally, after stopping queues, flush the TX
queues in the driver driver to make sure all the
frames went out.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/pm.c