Browse Source

qcacld-3.0: Fix block comments in wlan_hdd_main.c

A checkpatch run on the HDD component has produced numerous
warnings about improper block comments:
WARNING: Block comments use * on subsequent lines
WARNING: Block comments should align the * on each line
WARNING: Block comments use a trailing */ on a separate line

Fix all such warnings in wlan_hdd_main.c.

Change-Id: If256e206d4cd67fcfa943d27cd1473905240d11c
CRs-Fixed: 1110861
Jeff Johnson 8 năm trước cách đây
mục cha
commit
0d52c7a780
1 tập tin đã thay đổi với 14 bổ sung9 xóa
  1. 14 9
      core/hdd/src/wlan_hdd_main.c

+ 14 - 9
core/hdd/src/wlan_hdd_main.c

@@ -1340,8 +1340,10 @@ void hdd_update_tgt_cfg(void *context, void *param)
 
 	hdd_ctx->config->nBandCapability = cfg->band_cap;
 
-	/* now overwrite the target band capability with INI
-	   setting if INI setting is a subset */
+	/*
+	 * now overwrite the target band capability with INI
+	 * setting if INI setting is a subset
+	 */
 
 	if ((hdd_ctx->config->nBandCapability == eCSR_BAND_ALL) &&
 	    (temp_band_cap != eCSR_BAND_ALL))
@@ -6148,11 +6150,13 @@ void hdd_unsafe_channel_restart_sap(hdd_context_t *hdd_ctxt)
 		if (!restart_chan) {
 			hdd_alert("fail to restart SAP");
 		} else {
-			/* SAP restart due to unsafe channel. While restarting
-			 * the SAP, make sure to clear acs_channel, channel to
-			 * reset to 0. Otherwise these settings will override
+			/*
+			 * SAP restart due to unsafe channel. While
+			 * restarting the SAP, make sure to clear
+			 * acs_channel, channel to reset to
+			 * 0. Otherwise these settings will override
 			 * the ACS while restart.
-			*/
+			 */
 			hdd_ctxt->acs_policy.acs_channel = AUTO_CHANNEL_SELECT;
 			adapter_temp->sessionCtx.ap.sapConfig.channel =
 							AUTO_CHANNEL_SELECT;
@@ -8761,9 +8765,10 @@ void wlan_hdd_send_svc_nlink_msg(int radio, int type, void *data, int len)
 	}
 
 	/*
-	 * Add radio index at the end of the svc event in TLV format to maintain
-	 * the backward compatibility with userspace applications.
-	*/
+	 * Add radio index at the end of the svc event in TLV format
+	 * to maintain the backward compatibility with userspace
+	 * applications.
+	 */
 
 	tlv_len = 0;