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 03f0cd872dce..5d2d1f746b91 100644 --- a/net/lapb/lapb_iface.c +++ b/net/lapb/lapb_iface.c | |||
@@ -177,6 +177,7 @@ int lapb_unregister(struct net_device *dev) | |||
177 | lapb = __lapb_devtostruct(dev); | 177 | lapb = __lapb_devtostruct(dev); |
178 | if (!lapb) | 178 | if (!lapb) |
179 | goto out; | 179 | goto out; |
180 | lapb_put(lapb); | ||
180 | 181 | ||
181 | lapb_stop_t1timer(lapb); | 182 | lapb_stop_t1timer(lapb); |
182 | lapb_stop_t2timer(lapb); | 183 | lapb_stop_t2timer(lapb); |