qcacld-3.0: override dot11 mode for WEP-40/WEP-104
HT is not supported with TKIP/WEP as encryption, WEP 40/104 are WEP, need to be taken into consideration. Change-Id: Ibce4bf929ce43b8246c14d4cbddfa93c9c25c6cb CRs-Fixed: 2892721
This commit is contained in:
@@ -2206,7 +2206,9 @@ lim_verify_dot11_mode_with_crypto(struct pe_session *session)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
if (!((ucast_cipher & (1 << WLAN_CRYPTO_CIPHER_TKIP)) ||
|
if (!((ucast_cipher & (1 << WLAN_CRYPTO_CIPHER_TKIP)) ||
|
||||||
(ucast_cipher & (1 << WLAN_CRYPTO_CIPHER_WEP))))
|
(ucast_cipher & (1 << WLAN_CRYPTO_CIPHER_WEP)) ||
|
||||||
|
(ucast_cipher & (1 << WLAN_CRYPTO_CIPHER_WEP_40)) ||
|
||||||
|
(ucast_cipher & (1 << WLAN_CRYPTO_CIPHER_WEP_104))))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (WLAN_REG_IS_24GHZ_CH_FREQ(bss_desc->chan_freq))
|
if (WLAN_REG_IS_24GHZ_CH_FREQ(bss_desc->chan_freq))
|
||||||
|
Reference in New Issue
Block a user