Skip to content

Commit

Permalink
mac80211_hwsim: fix double-scan detection
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johannes Berg authored and John W. Linville committed May 3, 2010
1 parent be4a4b6 commit 23ff98f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/mac80211_hwsim.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 23ff98f

Please sign in to comment.