Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106650
b: refs/heads/master
c: 0f38c47
h: refs/heads/master
v: v3
  • Loading branch information
David Sterba authored and Linus Torvalds committed Jul 28, 2008
1 parent 7eb9a24 commit 0529afd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bee9c7c0773517c9f1d7931144fc8dec12233bd7
refs/heads/master: 0f38c47a545d36da4038fec0708e6e3fbdb160b1
4 changes: 2 additions & 2 deletions trunk/drivers/char/pcmcia/ipwireless/hardware.c
Original file line number Diff line number Diff line change
Expand Up @@ -563,9 +563,9 @@ static struct ipw_rx_packet *pool_allocate(struct ipw_hardware *hw,
if (!list_empty(&hw->rx_pool)) {
packet = list_first_entry(&hw->rx_pool,
struct ipw_rx_packet, queue);
list_del(&packet->queue);
hw->rx_pool_size--;
spin_unlock_irqrestore(&hw->lock, flags);
list_del(&packet->queue);
} else {
static int min_capacity = 256;
int new_capacity;
Expand Down Expand Up @@ -610,7 +610,7 @@ static void pool_free(struct ipw_hardware *hw, struct ipw_rx_packet *packet)
kfree(packet);
else {
hw->rx_pool_size++;
list_add_tail(&packet->queue, &hw->rx_pool);
list_add(&packet->queue, &hw->rx_pool);
}
}

Expand Down

0 comments on commit 0529afd

Please sign in to comment.