mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacld-3.0: update default wep index for group key
For encryption mode is WEP40 or WEP104, the default key index should
be set. if not set, the group key index will be zero always.
Change-Id: I3f2dae9d7b6cd4fbb7aa2882e6a5e89cf759cd11
CRs-Fixed: 2065988
This commit is contained in:
parent
b9bfb9e0dc
commit
8a61fd27a0
1 changed files with 5 additions and 0 deletions
|
|
@ -1839,6 +1839,11 @@ void wma_set_bsskey(tp_wma_handle wma_handle, tpSetBssKeyParams key_info)
|
|||
key_info->encType == eSIR_ED_WEP104)) {
|
||||
wma_read_cfg_wepkey(wma_handle, key_info->key,
|
||||
&def_key_idx, &key_info->numKeys);
|
||||
} else if ((key_info->encType == eSIR_ED_WEP40) ||
|
||||
(key_info->encType == eSIR_ED_WEP104)) {
|
||||
struct wma_txrx_node *intf =
|
||||
&wma_handle->interfaces[key_info->smesessionId];
|
||||
key_params.def_key_idx = intf->wep_default_key_idx;
|
||||
}
|
||||
|
||||
for (i = 0; i < key_info->numKeys; i++) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue