commit | 5d41635195c06fc3116ef3921fe85a9a3ea5ab20 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes@sipsolutions.net> | Mon Jul 13 13:04:30 2009 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Tue Jul 21 12:07:39 2009 -0400 |
tree | 956bd71f9e856f2b338fcd9889b7df002af5855c | |
parent | 48ab3578a65c5168ecaaa3b21292b643b7bcc2d5 [diff] |
mac80211_hwsim: fix unregistration If you rmmod the module while associated, frames might be transmitted during unregistration -- which will crash if the hwsim%d interface is unregistered first, so only do that after all the virtual wiphys are gone. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>