[PATCH] hostap: Unregister netdevs before freeing local data
authorJouni Malinen <jkmaline@cc.hut.fi>
Mon, 3 Oct 2005 00:19:01 +0000 (17:19 -0700)
committerJeff Garzik <jgarzik@pobox.com>
Tue, 4 Oct 2005 02:00:09 +0000 (22:00 -0400)
commit7cb3cd090c2725b80561958a362c2ba15a7a8c86
tree9fc947ea92077967b3a0e6437d32130b3e9d772d
parentc355184cd3cd58c9ffc78f2a17e0ac3563312ea7
[PATCH] hostap: Unregister netdevs before freeing local data

Unregister all netdevs before freeing local data. I was unable to
trigger any crashes without this change when running busy loops for
driver operations when ejecting a Prism2 PC Card. Anyway, should there
be a race condition with this, better make it less likely to happen by
unregistering the netdevs first.

Signed-off-by: Jouni Malinen <jkmaline@cc.hut.fi>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/wireless/hostap/hostap_hw.c