]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc6e5a050fb9323c6e50ae05c90911ea017bdc2ae
treeae11c2bf54ea028e480a091bd51846a3f400e407
parenta31f86f7e8cd5e18c0792a3cd87b9fe34f801b64
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