wcn36xx: move set_tx_pdu inside set_tx_data/mgmt
authorBob Copeland <me@bobcopeland.com>
Fri, 9 Jan 2015 19:15:51 +0000 (14:15 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 23 Jan 2015 17:12:09 +0000 (19:12 +0200)
commit5f3f928585b22aada39f87611df75bac4a12a6c7
tree7bffbc0d014c9d529270a0d4928d10e2ee49bd99
parent4b12462a3a7f44066aa2885a487a5154f5f75c99
wcn36xx: move set_tx_pdu inside set_tx_data/mgmt

The pdu is part of the buffer descriptor, so it makes
sense that one function would fill both.  Also, passing
the whole skb instead of just the header pointer to the
set_tx_data function paves the way for using its fields
for ampdu setup inside set_tx_data().

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wcn36xx/txrx.c