qcacld-3.0: Update wep_key length in mlme_get_wep_key
In mlme_get_wep_key, the key_length is got from the caller is hardcoded to value 13. This should be updated based on the length of the key and passed to the caller. But it is not updated and value 13 is used to copy the key, resulting in decrypt failure. Also add debug logs to print wep key id and length. Pass the key length by call by reference to update the key length Change-Id: Ie1e56a80db27894bf9f0426728f9fb74a014679e CRs-Fixed: 2351182
This commit is contained in:

committed by
nshrivas

parent
e772ac75f0
commit
20898a3e0d
@@ -73,7 +73,7 @@ QDF_STATUS wlan_mlme_get_edca_params(struct wlan_mlme_edca_params *edca_params,
|
||||
*/
|
||||
QDF_STATUS mlme_get_wep_key(struct wlan_mlme_wep_cfg *wep_params,
|
||||
enum wep_key_id wep_keyid, uint8_t *default_key,
|
||||
qdf_size_t key_len);
|
||||
qdf_size_t *key_len);
|
||||
|
||||
/**
|
||||
* mlme_set_wep_key() - set the wep keys during auth
|
||||
|
Reference in New Issue
Block a user