mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
wlan: Can't scan the hidden external SSID when the 1st SSID is empty
Propagation from qcacld-2.0 to prima Because of previous issue with supplicant setting n_ssids to 1 when there is no SSID provided, wlan_hdd_cfg80211.c simply ignores the case when the first SSID is empty. However, this fails when the 1st SSID is empty but the one after is not. Change-Id: I8b25cab6335b59db587fb90d04a31682afa48d06 CRs-Fixed: 2148403
This commit is contained in:
parent
02651df2b4
commit
e7cd81aaff
1 changed files with 2 additions and 2 deletions
|
@ -4588,8 +4588,8 @@ int wlan_hdd_cfg80211_scan( struct wiphy *wiphy,
|
|||
* Becasue of this, driver is assuming that this is not wildcard scan and so
|
||||
* is not aging out the scan results.
|
||||
*/
|
||||
if (request->ssids && '\0' == request->ssids->ssid[0])
|
||||
{
|
||||
if ((request->ssids) && (request->n_ssids == 1) &&
|
||||
('\0' == request->ssids->ssid[0])) {
|
||||
request->n_ssids = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue