]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit75d3edd763372597db5285cd7135859d7b354723
tree9fc947ea92077967b3a0e6437d32130b3e9d772d
parent93eb8600cbb6c74354692cf2b7c3d5b2e799e352
[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