Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3684a601 authored by James Bottomley's avatar James Bottomley Committed by Linus Torvalds
Browse files

ipwireless: fix compile failure



There's a brown paper bag compile failure introduced by this patch

commit a0138692
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: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent f934fb19
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -568,7 +568,7 @@ static struct ipw_rx_packet *pool_allocate(struct ipw_hardware *hw,
			list_del(&packet->queue);
			list_del(&packet->queue);
		} else {
		} else {
			const int min_capacity =
			const int min_capacity =
				ipwireless_ppp_mru(hw->network + 2);
				ipwireless_ppp_mru(hw->network) + 2;
			int new_capacity;
			int new_capacity;


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