commit | 701f3961e3781960ec2dff168a44e167e1dae292 | [log] [tgz] |
---|---|---|
author | Avraham Stern <avraham.stern@intel.com> | Mon Mar 16 01:20:01 2015 -0400 |
committer | Jouni Malinen <j@w1.fi> | Sun Mar 22 20:36:01 2015 +0200 |
tree | 5c8260501fd89b589bc270bdfa87a1e00d3b15c4 | |
parent | 24b3b3231674bd35ce2dad4abe4ca21bc8dab64c [diff] |
Don't optimize scan frequencies if selected network has changed When disconnecting from a BSS, the next scan is optimized to scan only the channels used by the connected ESS. But when disconnecting because a new network was selected, this optimization is wrong because wpa_supplicant is now trying to connect to another ESS. Fix this by not optimizing the scan frequencies in case the selected network has changed. Signed-off-by: Avraham Stern <avraham.stern@intel.com>