mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
qcacmn: Fix Null Pointer Kernel Panic on wlan_crypto_setkey
Fixing the Null pointer derefence in wlan_crypto_setkey. Change-Id: I4853d9603be7f6b7d4f9e2c253dd9d2074bf4f68 CRs-Fixed: 2107331
This commit is contained in:
parent
ea368417b0
commit
44a78ca333
1 changed files with 0 additions and 1 deletions
|
|
@ -354,7 +354,6 @@ QDF_STATUS wlan_crypto_setkey(struct wlan_objmgr_vdev *vdev,
|
|||
if (wlan_crypto_vdev_has_auth_mode(vdev,
|
||||
(1 << WLAN_CRYPTO_AUTH_8021X))) {
|
||||
req_key->flags |= WLAN_CRYPTO_KEY_DEFAULT;
|
||||
crypto_priv->def_tx_keyid = req_key->keyix;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue