carl9170: tx path review
authorChristian Lamparter <chunkeey@googlemail.com>
Sat, 6 Nov 2010 13:07:10 +0000 (14:07 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Nov 2010 18:26:12 +0000 (13:26 -0500)
commit041fb8f504fb0a6b61bc2131679da554b2fa8c9d
treee1c4553b0432c145085d5a4fa4a93a4a6427372a
parentffa56e540c3949c4560dcce45eca247819e183c1
carl9170: tx path review

This patch fixes a few shortcomings in the tx path.

 * move temp. ampdu_[ack]_len out of txinfo->pad.

 * fix WARN_ON from tx.c:line 300 when tx_ampdu_queue
   fails to queue the frame.

 * In tx_prepare, we already have a local pointer
   to the station's ieee80211_sta struct.

 * remove a second !sta check, tx_prepare already takes
   care of that.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/carl9170/tx.c