mac80211: fix A-MPDU queue assignment
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 23 Mar 2009 16:28:36 +0000 (17:28 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 28 Mar 2009 00:13:21 +0000 (20:13 -0400)
commitf0e72851f7ad108fed20426b46a18ab5fcd5729f
tree5e8d1795fa06127f9c9ae9755140eb0d871ae2f9
parent2de8e0d999b8790861cd3749bec2236ccc1c8110
mac80211: fix A-MPDU queue assignment

Internally, mac80211 requires the skb's queue mapping to be set
to the AC queue, not the virtual A-MPDU queue. This is not done
correctly currently, this patch moves the code down to directly
before the driver is invoked and adds a comment that it will be
moved into the driver later.

Since this requires __ieee80211_tx() to have the sta pointer,
make sure to provide it in ieee80211_tx_pending().

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/tx.c