Fix some bugs in the last commit. We have to call ether_ifdetach if we
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Thu, 9 Jun 2005 17:09:34 +0000 (17:09 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Thu, 9 Jun 2005 17:09:34 +0000 (17:09 +0000)
commit9ed0a1787e11db25fdc901767b42680837d412e8
treea3ee91bd75de4cc9c045b964777d1e9ba80e4a0e
parent4bac35fc6763c413ca69801f5709b913c288ab65
Fix some bugs in the last commit. We have to call ether_ifdetach if we
couldn't setup the interrupt. We should always try to detach the children.

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