فهرست منبع

qcacmn: Add support to check peer has mcast cipher

Add support to check if peer has MCAST cipher set

Change-Id: I9eb2983c33583b4af39d07a5793993a56b7d27ad
Rohan Dutta 6 سال پیش
والد
کامیت
0bdfabfecd
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      umac/cmn_services/crypto/src/wlan_crypto_global_api.c

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

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