Skip to content

Commit

Permalink
[PATCH] ieee80211 build fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
James Ketrenos authored and Jeff Garzik committed Oct 26, 2005
1 parent ac9c189 commit 077783f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ieee80211/ieee80211_tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ int ieee80211_tx_frame(struct ieee80211_device *ieee,
/* 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);
Expand Down

0 comments on commit 077783f

Please sign in to comment.