From: Andrew Morton Cc: Jeff Garzik Signed-off-by: Andrew Morton --- net/ieee80211/ieee80211_tx.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN net/ieee80211/ieee80211_tx.c~git-netdev-all-ieee80211_tx-fix net/ieee80211/ieee80211_tx.c --- devel/net/ieee80211/ieee80211_tx.c~git-netdev-all-ieee80211_tx-fix 2005-10-23 16:23:09.000000000 -0700 +++ devel-akpm/net/ieee80211/ieee80211_tx.c 2005-10-23 16:23:25.000000000 -0700 @@ -541,7 +541,7 @@ int ieee80211_tx_frame(struct ieee80211_ /* When we allocate the TXB we allocate enough space for the reserve * and full fragment bytes (bytes_per_frag doesn't include prefix, * postfix, header, FCS, etc.) */ - txb = ieee80211_alloc_txb(1, len, GFP_ATOMIC); + txb = ieee80211_alloc_txb(1, len, ieee->tx_headroom, GFP_ATOMIC); if (unlikely(!txb)) { printk(KERN_WARNING "%s: Could not allocate TXB\n", ieee->dev->name); _