Skip to content

Commit

Permalink
ipwireless: fix compile failure
Browse files Browse the repository at this point in the history
There's a brown paper bag compile failure introduced by this patch

commit a013869
Author: David Sterba <dsterba@suse.cz>
Date:   Mon Jul 28 16:53:32 2008 +0200

    ipwireless: Preallocate received packet buffers with MRU size

Really, it can't ever have been even compile tested.  It looks like the
closing bracket is in the wrong place, so this is the fix.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
James Bottomley authored and Linus Torvalds committed Jul 28, 2008
1 parent f934fb1 commit 3684a60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/pcmcia/ipwireless/hardware.c
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ static struct ipw_rx_packet *pool_allocate(struct ipw_hardware *hw,
list_del(&packet->queue);
} else {
const int min_capacity =
ipwireless_ppp_mru(hw->network + 2);
ipwireless_ppp_mru(hw->network) + 2;
int new_capacity;

spin_unlock_irqrestore(&hw->lock, flags);
Expand Down

0 comments on commit 3684a60

Please sign in to comment.