]> 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)
commit9a643f4caee8c527eb26cae614c176740b286afe
treeae11c2bf54ea028e480a091bd51846a3f400e407
parenta17324c9787c718aa73f261a4419cc00c99e2aac
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