From: Johannes Berg Date: Mon, 13 Jul 2009 11:04:30 +0000 (+0200) Subject: mac80211_hwsim: fix unregistration X-Git-Tag: v2.6.31-rc5~83^2~18^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d41635195c06fc3116ef3921fe85a9a3ea5ab20;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed