mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
qcacmn: Fix connection failure with WEP AP
If AP was configured in WEP mode the scan module is not able to filter the AP and thus connection fails. Fix the logic due to which the AP was not filtered. Change-Id: I03ee702875e867986e4bae635269a844914c8043 CRs-Fixed: 2057585
This commit is contained in:
parent
c9f57df660
commit
af7e092d9a
1 changed files with 1 additions and 1 deletions
|
|
@ -418,7 +418,7 @@ static bool scm_is_wep_security(struct scan_filter *filter,
|
|||
enum wlan_enc_type neg_mccipher = WLAN_ENCRYPT_TYPE_NONE;
|
||||
|
||||
/* If privacy bit is not set, consider no match */
|
||||
if (db_entry->cap_info.wlan_caps.privacy)
|
||||
if (!db_entry->cap_info.wlan_caps.privacy)
|
||||
return false;
|
||||
|
||||
for (i = 0; i < filter->num_of_mc_enc_type; i++) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue