qcacmn: Add support to check peer has mcast cipher

Add support to check if peer has MCAST cipher set

Change-Id: I9eb2983c33583b4af39d07a5793993a56b7d27ad
This commit is contained in:
Rohan Dutta 2018-08-01 03:22:36 +05:30 • committed by nshrivas
commit 0bdfabfecd

View file

@ -3073,7 +3073,7 @@ qdf_export_symbol(wlan_crypto_vdev_has_mcastcipher);
bool wlan_crypto_peer_has_mcastcipher(struct wlan_objmgr_peer *peer,
wlan_crypto_cipher_type mcastcipher)
{
return wlan_crypto_get_peer_param(peer, WLAN_CRYPTO_PARAM_UCAST_CIPHER)
return wlan_crypto_get_peer_param(peer, WLAN_CRYPTO_PARAM_MCAST_CIPHER)
& mcastcipher;
}
qdf_export_symbol(wlan_crypto_peer_has_mcastcipher);