Currently, hwsim will always detect a double scan after the first one has finished ... Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> --- drivers/net/wireless/mac80211_hwsim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- wireless-testing.orig/drivers/net/wireless/mac80211_hwsim.c 2010-05-03 09:19:54.000000000 +0200 +++ wireless-testing/drivers/net/wireless/mac80211_hwsim.c 2010-05-03 09:20:01.000000000 +0200 @@ -1021,7 +1021,7 @@ static void mac80211_hwsim_sw_scan_compl mutex_lock(&hwsim->mutex); printk(KERN_DEBUG "hwsim sw_scan_complete\n"); - hwsim->scanning = true; + hwsim->scanning = false; mutex_unlock(&hwsim->mutex); } -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html