From: Javier Cardona Date: Wed, 18 Jan 2012 02:17:46 +0000 (-0800) Subject: mac80211: Use the right headroom size for mesh mgmt frames X-Git-Tag: v3.3-rc2~37^2~62^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65e8b0ccb6cf176f8eddb1b05534be46580da9dd;p=pandora-kernel.git 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 Reported-by: Kai Scharwies Signed-off-by: Javier Cardona Signed-off-by: John W. Linville --- Reading git-diff-tree failed