Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86803
b: refs/heads/master
c: a51f412
h: refs/heads/master
i:
  86801: 29ddbdb
  86799: 7f4a75d
v: v3
  • Loading branch information
David Sterba authored and Linus Torvalds committed Mar 5, 2008
1 parent 21fb41e commit 995bb2b
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 3149be50d3a31df095bcc83d752293da65a37f62
refs/heads/master: a51f4124e6d69afdfae34a2ff2e580e7bf224ad2
5 changes: 4 additions & 1 deletion trunk/drivers/char/pcmcia/ipwireless/network.c
Original file line number Diff line number Diff line change
Expand Up @@ -377,13 +377,16 @@ void ipwireless_network_packet_received(struct ipw_network *network,
for (i = 0; i < MAX_ASSOCIATED_TTYS; i++) {
struct ipw_tty *tty = network->associated_ttys[channel_idx][i];

if (!tty)
continue;

/*
* If it's associated with a tty (other than the RAS channel
* when we're online), then send the data to that tty. The RAS
* channel's data is handled above - it always goes through
* ppp_generic.
*/
if (tty && channel_idx == IPW_CHANNEL_RAS
if (channel_idx == IPW_CHANNEL_RAS
&& (network->ras_control_lines &
IPW_CONTROL_LINE_DCD) != 0
&& ipwireless_tty_is_modem(tty)) {
Expand Down

0 comments on commit 995bb2b

Please sign in to comment.