diff options
author | Javier Cardona <[email protected]> | 2012-01-17 18:17:46 -0800 |
---|---|---|
committer | John W. Linville <[email protected]> | 2012-01-18 14:38:06 -0500 |
commit | 65e8b0ccb6cf176f8eddb1b05534be46580da9dd (patch) | |
tree | 873c06bd136f80dc2a57a06e086d6934c0daab9c /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | f96b08a7e6f69c0f0a576554df3df5b1b519c479 (diff) |
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 <[email protected]>
Reported-by: Kai Scharwies <[email protected]>
Signed-off-by: Javier Cardona <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions