mac80211: reconfigure tx on device reconfiguration
authorEliad Peller <eliad@wizery.com>
Thu, 14 Jul 2011 17:29:42 +0000 (20:29 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 18 Jul 2011 18:29:03 +0000 (14:29 -0400)
commit2683d65bb016a0533c25ead3025cbd24886cf35f
treeeb6f37fae2711030aeddc31c9482b36de85d0be0
parentb3c2ce131c7cd8c53b72b0cc04241cde17ce0c1d
mac80211: reconfigure tx on device reconfiguration

Add tx_conf array to save the current tx queues
configuration, and reconfig it on resume (ieee80211_reconfig).

On resume, the driver is being reconfigured. Without
reconfiguring the tx queues as well, the driver might
configure the device to use wrong ac params (e.g. ps-poll
instead of uapsd).

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/cfg.c
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c
net/mac80211/util.c