diff options
-rwxr-xr-x | zaptel.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1269,7 +1269,8 @@ static int zt_net_open(hdlc_device *hdlc) #ifdef NEW_HDLC_INTERFACE static int zt_net_stop(struct net_device *dev) { - hdlc_device *hdlc = dev_to_hdlc(dev); + hdlc_device *h = dev_to_hdlc(dev); + struct zt_hdlc *hdlc = h->priv; #else static void zt_net_close(hdlc_device *hdlc) { |