ath9k: declare required extra tx headroom
authorFelix Fietkau <nbd@openwrt.org>
Thu, 24 Sep 2015 14:59:46 +0000 (16:59 +0200)
committerZefan Li <lizefan@huawei.com>
Wed, 27 Apr 2016 10:55:24 +0000 (18:55 +0800)
commitedb236d7d193cb7ae1dec654183be24b60334474
treee69075fb80dde378aacd39f555a90e2c2f80f4cd
parentf5499bfc0b4645b44537cdbda9e58f5dfd0cb2af
ath9k: declare required extra tx headroom

commit 029cd0370241641eb70235d205aa0b90c84dce44 upstream.

ath9k inserts padding between the 802.11 header and the data area (to
align it). Since it didn't declare this extra required headroom, this
led to some nasty issues like randomly dropped packets in some setups.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Zefan Li <lizefan@huawei.com>
drivers/net/wireless/ath/ath9k/init.c