ath6kl: Fix tx packet drop in AP mode with bridge
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Fri, 4 Nov 2011 10:18:51 +0000 (15:48 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 11 Nov 2011 11:00:01 +0000 (13:00 +0200)
commita29517ce40e128bdf0794110bb4b18a984da7fb7
treeae11c2bf54ea028e480a091bd51846a3f400e407
parent902b46293ba6fe2320970bbd400e3201992059d0
ath6kl: Fix tx packet drop in AP mode with bridge

skb is dropped in ath6kl_data_tx() when the headroom in skb
is insufficient. We hit this condition for every skb in AP mode
which is used with bridge, so all tx packets are getting dropped
when tried to send traffic to wireless client from bridge. Fix
this by reallocating the headroom instead of dropping the skb
when it has lesser headroom than needed.

Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/txrx.c