qcacmn: Handle athkey getkey in open authmode

Athkey getkey should not give error message in open authmode

Change-Id: I6cd33b4fafe5a43d966ef320dae398622ce8f6fb
CRs-Fixed: 2124650
This commit is contained in:
Nandha Kishore Easwaran
2017-10-29 00:47:11 +05:30
gecommit door snandini
bovenliggende 365a8bd240
commit 434838f5d0

Bestand weergeven

@@ -596,8 +596,9 @@ QDF_STATUS wlan_crypto_getkey(struct wlan_objmgr_vdev *vdev,
macaddr,
WLAN_CRYPTO_ID);
if (peer == NULL) {
qdf_print("%s[%d] peer NULL\n", __func__, __LINE__);
return QDF_STATUS_E_INVAL;
QDF_TRACE(QDF_MODULE_ID_CRYPTO, QDF_TRACE_LEVEL_ERROR,
"%s[%d] peer NULL\n", __func__, __LINE__);
return QDF_STATUS_E_NOENT;
}
crypto_params = wlan_crypto_peer_get_comp_params(peer,
&crypto_priv);