Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106651
b: refs/heads/master
c: a013869
h: refs/heads/master
i:
  106649: 7eb9a24
  106647: e239748
v: v3
  • Loading branch information
David Sterba authored and Linus Torvalds committed Jul 28, 2008
1 parent 0529afd commit 8ec410d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 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: 0f38c47a545d36da4038fec0708e6e3fbdb160b1
refs/heads/master: a01386924874c4d6d67f8a34e66f04452c2abb69
3 changes: 2 additions & 1 deletion trunk/drivers/char/pcmcia/ipwireless/hardware.c
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,8 @@ static struct ipw_rx_packet *pool_allocate(struct ipw_hardware *hw,
spin_unlock_irqrestore(&hw->lock, flags);
list_del(&packet->queue);
} else {
static int min_capacity = 256;
const int min_capacity =
ipwireless_ppp_mru(hw->network + 2);
int new_capacity;

spin_unlock_irqrestore(&hw->lock, flags);
Expand Down
5 changes: 5 additions & 0 deletions trunk/drivers/char/pcmcia/ipwireless/network.c
Original file line number Diff line number Diff line change
Expand Up @@ -499,3 +499,8 @@ int ipwireless_ppp_unit_number(struct ipw_network *network)

return ret;
}

int ipwireless_ppp_mru(const struct ipw_network *network)
{
return network->mru;
}
1 change: 1 addition & 0 deletions trunk/drivers/char/pcmcia/ipwireless/network.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ void ipwireless_ppp_open(struct ipw_network *net);
void ipwireless_ppp_close(struct ipw_network *net);
int ipwireless_ppp_channel_index(struct ipw_network *net);
int ipwireless_ppp_unit_number(struct ipw_network *net);
int ipwireless_ppp_mru(const struct ipw_network *net);

#endif

0 comments on commit 8ec410d

Please sign in to comment.