dect
/
linux-2.6
Archived
13
0
Fork 0

mac80211_hwsim: fix double-scan detection

Currently, hwsim will always detect a double scan
after the first one has finished ...

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Johannes Berg 2010-05-03 09:21:14 +02:00 committed by John W. Linville
parent be4a4b6a5d
commit 23ff98fc21
1 changed files with 1 additions and 1 deletions

View File

@ -1020,7 +1020,7 @@ static void mac80211_hwsim_sw_scan_complete(struct ieee80211_hw *hw)
mutex_lock(&hwsim->mutex);
printk(KERN_DEBUG "hwsim sw_scan_complete\n");
hwsim->scanning = true;
hwsim->scanning = false;
mutex_unlock(&hwsim->mutex);
}