瀏覽代碼

qcacld-3.0: Add debug prints in SA query response

Add debug print to log the details sent in OCV frame
in SA query Response.
Also, remove additional line to print mac address of
peer.

Change-Id: Ia2114b69579d118b0ccc4fe9798caf2f855c895f
CRs-Fixed: 2860085
Utkarsh Bhatnagar 4 年之前
父節點
當前提交
c0acad4bc6
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      core/mac/src/pe/lim/lim_send_management_frames.c

+ 4 - 2
core/mac/src/pe/lim/lim_send_management_frames.c

@@ -5267,8 +5267,10 @@ QDF_STATUS lim_send_sa_query_response_frame(struct mac_context *mac,
 			nStatus);
 	}
 
-	pe_debug("Sending a SA Query Response to");
-	lim_print_mac_addr(mac, peer, LOGD);
+	pe_debug("Sending SA Query Response to "QDF_MAC_ADDR_FMT" op_class %d prim_ch_num %d freq_seg_1_ch_num %d oci_present %d",
+		 QDF_MAC_ADDR_REF(peer), frm.oci.op_class,
+		 frm.oci.prim_ch_num, frm.oci.freq_seg_1_ch_num,
+		 frm.oci.present);
 
 	if (!wlan_reg_is_24ghz_ch_freq(pe_session->curr_op_freq) ||
 	    pe_session->opmode == QDF_P2P_CLIENT_MODE ||