summaryrefslogtreecommitdiff
path: root/drivers/net/usb/usbnet.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-07-30 16:04:01 +0400
committerJohn W. Linville <linville@tuxdriver.com>2009-08-05 00:44:15 +0400
commite40cbdac0629402a4cb0c3bca0cc19ab7a00e00d (patch)
tree1bd8e7379d68af119ec91d07a1b85549cbe6b5f3 /drivers/net/usb/usbnet.c
parente46ab7f0886143846d8da2ca06c2b0e245f34dc6 (diff)
downloadlinux-e40cbdac0629402a4cb0c3bca0cc19ab7a00e00d.tar.xz
cfg80211: fix NETDEV_UNREGISTER notifier
It's possible to get the NETDEV_UNREGISTER callback multiple times (see net/core/dev.c:netdev_wait_allrefs) and this will completely mess up our cleanup code. To avoid that, clean up only when the interface is still on the wiphy interface list from which it's removed on the first NETDEV_UNREGISTER call. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/usb/usbnet.c')
0 files changed, 0 insertions, 0 deletions