浏览代码

qcacld-3.0: Remove unnecessary hdd_host_set_sap_key prints

In hdd_hostapd_set_sap_key(), Remove unnecessary prints

Change-Id: I2ab35ea6983a4f3e6bf7350f958994c26ecef118
CRs-Fixed: 3128536
Vinod Kumar Myadam 3 年之前
父节点
当前提交
573d2acf4c
共有 1 个文件被更改,包括 1 次插入4 次删除
  1. 1 4
      core/hdd/src/wlan_hdd_hostapd.c

+ 1 - 4
core/hdd/src/wlan_hdd_hostapd.c

@@ -1824,11 +1824,8 @@ static void hdd_hostapd_set_sap_key(struct hdd_adapter *adapter)
 
 	for (key_index = 0; key_index < WLAN_CRYPTO_MAXKEYIDX; ++key_index) {
 		crypto_key = wlan_crypto_get_key(adapter->vdev, key_index);
-		if (!crypto_key) {
-			hdd_debug("Crypto KEY with key id %d is NULL",
-				  key_index);
+		if (!crypto_key)
 			continue;
-		}
 		ucfg_crypto_set_key_req(adapter->vdev, crypto_key,
 					WLAN_CRYPTO_KEY_TYPE_GROUP);
 		wma_update_set_key(adapter->vdev_id, false, key_index,