Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190022
b: refs/heads/master
c: 31f634a
h: refs/heads/master
v: v3
  • Loading branch information
Krzysztof Halasa authored and David S. Miller committed Apr 16, 2010
1 parent 9e8a883 commit 832383e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 334656f33c43921cf383dfd0220dfd34376bcd98
refs/heads/master: 31f634a63de7068c6a5dcb0d7b09b24b61a5cf88
6 changes: 6 additions & 0 deletions trunk/drivers/net/wan/hdlc_ppp.c
Original file line number Diff line number Diff line change
Expand Up @@ -628,9 +628,15 @@ static void ppp_stop(struct net_device *dev)
ppp_cp_event(dev, PID_LCP, STOP, 0, 0, 0, NULL);
}

static void ppp_close(struct net_device *dev)
{
ppp_tx_flush();
}

static struct hdlc_proto proto = {
.start = ppp_start,
.stop = ppp_stop,
.close = ppp_close,
.type_trans = ppp_type_trans,
.ioctl = ppp_ioctl,
.netif_rx = ppp_rx,
Expand Down

0 comments on commit 832383e

Please sign in to comment.