diff options
author | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-07-28 18:11:44 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-28 18:12:37 -0400 |
commit | 3684a601e4273692b6c80b86e55c728aef675660 (patch) | |
tree | 1eefe49a5f357c03e628c9f0eecbf2420e8e824e /drivers/char/pcmcia | |
parent | f934fb19ef34730263e6afc01e8ec27a8a71470f (diff) |
ipwireless: fix compile failure
There's a brown paper bag compile failure introduced by this patch
commit a01386924874c4d6d67f8a34e66f04452c2abb69
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>
Diffstat (limited to 'drivers/char/pcmcia')
-rw-r--r-- | drivers/char/pcmcia/ipwireless/hardware.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/pcmcia/ipwireless/hardware.c b/drivers/char/pcmcia/ipwireless/hardware.c index 7d500f82195a..4c1820cad712 100644 --- a/drivers/char/pcmcia/ipwireless/hardware.c +++ b/drivers/char/pcmcia/ipwireless/hardware.c | |||
@@ -568,7 +568,7 @@ static struct ipw_rx_packet *pool_allocate(struct ipw_hardware *hw, | |||
568 | list_del(&packet->queue); | 568 | list_del(&packet->queue); |
569 | } else { | 569 | } else { |
570 | const int min_capacity = | 570 | const int min_capacity = |
571 | ipwireless_ppp_mru(hw->network + 2); | 571 | ipwireless_ppp_mru(hw->network) + 2; |
572 | int new_capacity; | 572 | int new_capacity; |
573 | 573 | ||
574 | spin_unlock_irqrestore(&hw->lock, flags); | 574 | spin_unlock_irqrestore(&hw->lock, flags); |