Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] ieee80211 build fix

James Ketrenos wrote:
> [3/4] Use the tx_headroom and reserve requested space.

This patch introduced a compile problem; patch below corrects this.

Fixed compilation error due to not passing tx_headroom in
ieee80211_tx_frame.

Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>

authored by

James Ketrenos and committed by
Jeff Garzik
077783f8 ac9c1897

+1 -1
+1 -1
net/ieee80211/ieee80211_tx.c
··· 541 541 /* When we allocate the TXB we allocate enough space for the reserve 542 542 * and full fragment bytes (bytes_per_frag doesn't include prefix, 543 543 * postfix, header, FCS, etc.) */ 544 - txb = ieee80211_alloc_txb(1, len, GFP_ATOMIC); 544 + txb = ieee80211_alloc_txb(1, len, ieee->tx_headroom, GFP_ATOMIC); 545 545 if (unlikely(!txb)) { 546 546 printk(KERN_WARNING "%s: Could not allocate TXB\n", 547 547 ieee->dev->name);