Only delete the miibus if it was attached first.
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Mon, 13 Jun 2005 10:20:49 +0000 (10:20 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Mon, 13 Jun 2005 10:20:49 +0000 (10:20 +0000)
commitbbb8ae95e2a01929bd7ba12e46370a0c4848f602
tree9ebc88a2d7576c968e585330910c0e96cd5c73ed
parentcd1690b985b138473a097f574c9241e362c15a5c
Only delete the miibus if it was attached first.

Noticed-by: Sepherosa Ziehau <sepherosa@gmail.com>
sys/dev/netif/sf/if_sf.c