aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/pcmcia
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/pcmcia')
-rw-r--r--drivers/char/pcmcia/ipwireless/hardware.c2
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);