Jouni Malinen c355184cd3 [PATCH] hostap: Do not free local->hw_priv before unregistering netdev
local->hw_priv was being freed and set to NULL just before calling
prism2_free_local_data(). However, this may expose a race condition in
which something ends up trying to use hw_priv during shutdown. I
haven't noticed this happening, but better be safe than sorry, so
let's postpone hw_priv freeing to happen only after
prism2_free_local_data() has returned.

Signed-off-by: Jouni Malinen <jkmaline@cc.hut.fi>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2005-10-03 22:00:08 -04:00
..
2005-09-20 21:01:13 +01:00
2005-09-22 07:58:24 -07:00
2005-09-11 19:15:07 -07:00
2005-09-17 11:50:02 -07:00
2005-09-17 11:50:02 -07:00
2005-09-17 15:34:30 -07:00
2005-09-17 11:49:58 -07:00
2005-09-11 19:15:07 -07:00
2005-09-11 19:15:07 -07:00