diff options
author | Javier Cardona <javier@cozybit.com> | 2012-01-18 03:17:46 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-01-18 20:38:06 +0100 |
commit | 65e8b0ccb6cf176f8eddb1b05534be46580da9dd (patch) | |
tree | 873c06bd136f80dc2a57a06e086d6934c0daab9c /net/sched/act_gact.c | |
parent | brcmsmac: fix tx queue flush infinite loop (diff) | |
download | linux-65e8b0ccb6cf176f8eddb1b05534be46580da9dd.tar.xz linux-65e8b0ccb6cf176f8eddb1b05534be46580da9dd.zip |
mac80211: Use the right headroom size for mesh mgmt frames
Use local->tx_headroom instad of local->hw.extra_tx_headroom.
local->tx_headroom is the max of hw.extra_tx_headroom required by the
driver and the headroom required by mac80211 for status reporting. On
drivers where hw.extra_tx_headroom is smaller than what mac80211
requires (e.g. ath5k), we would not reserve sufficient buffer space to
report tx status.
Also, don't reserve local->tx_headroom + local->hw.extra_tx_headroom.
Reported-by: Simon Morgenthaler <s.morgenthaler@students.unibe.ch>
Reported-by: Kai Scharwies <kai@scharwies.de>
Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/sched/act_gact.c')
0 files changed, 0 insertions, 0 deletions