Browse Source

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
Rohan Dutta 7 years ago
parent
commit
44a78ca333
1 changed files with 0 additions and 1 deletions
  1. 0 1
      umac/cmn_services/crypto/src/wlan_crypto_global_api.c

+ 0 - 1
umac/cmn_services/crypto/src/wlan_crypto_global_api.c

@@ -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;
 		}
 	}