diff options
Diffstat (limited to 'net/lapb/lapb_iface.c')
-rw-r--r-- | net/lapb/lapb_iface.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/lapb/lapb_iface.c b/net/lapb/lapb_iface.c index 600d754a1700..3c03f6512c5f 100644 --- a/net/lapb/lapb_iface.c +++ b/net/lapb/lapb_iface.c | |||
@@ -176,6 +176,7 @@ int lapb_unregister(struct net_device *dev) | |||
176 | lapb = __lapb_devtostruct(dev); | 176 | lapb = __lapb_devtostruct(dev); |
177 | if (!lapb) | 177 | if (!lapb) |
178 | goto out; | 178 | goto out; |
179 | lapb_put(lapb); | ||
179 | 180 | ||
180 | lapb_stop_t1timer(lapb); | 181 | lapb_stop_t1timer(lapb); |
181 | lapb_stop_t2timer(lapb); | 182 | lapb_stop_t2timer(lapb); |