summaryrefslogtreecommitdiffstats
path: root/sys/dev/xe/if_xe_pccard.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/xe/if_xe_pccard.c')
-rw-r--r--sys/dev/xe/if_xe_pccard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/xe/if_xe_pccard.c b/sys/dev/xe/if_xe_pccard.c
index 4e6b2a4..48f1180 100644
--- a/sys/dev/xe/if_xe_pccard.c
+++ b/sys/dev/xe/if_xe_pccard.c
@@ -328,8 +328,8 @@ xe_pccard_detach(device_t dev)
sc->ifp->if_drv_flags &= ~IFF_DRV_RUNNING;
ether_ifdetach(sc->ifp);
- if_free(sc->ifp);
xe_deactivate(dev);
+ if_free(sc->ifp);
return (0);
}
OpenPOWER on IntegriCloud