qcacmn: Return error when key install fail
Low throughput is seen with interop clients when set key is issued before wmi_peer_assoc command, hence avoide key install before wmi_peer_assoc. We are check here to verify the key install success or failure. Change-Id: I553a5ed01165354afc19885b4f62c13632908808 CRs-Fixed: 3274020
Cette révision appartient à :

révisé par
Madan Koyyalamudi

Parent
81f874fc13
révision
1a7ce50c83
@@ -1099,8 +1099,12 @@ QDF_STATUS wlan_crypto_setkey(struct wlan_objmgr_vdev *vdev,
|
||||
key->private = req_key;
|
||||
} else {
|
||||
if (WLAN_CRYPTO_TX_OPS_SETKEY(tx_ops)) {
|
||||
WLAN_CRYPTO_TX_OPS_SETKEY(tx_ops)(vdev, key, macaddr,
|
||||
req_key->type);
|
||||
if (WLAN_CRYPTO_TX_OPS_SETKEY(tx_ops)(vdev, key,
|
||||
macaddr,
|
||||
req_key->type)) {
|
||||
status = QDF_STATUS_E_INVAL;
|
||||
goto err;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (cipher)
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur