Bläddra i källkod

qcacld-3.0: Rename hdd_context enableRxThread field

Per the Linux coding style "mixed-case names are frowned upon" so
rename field enableRxThread in struct hdd_context.

Change-Id: Ie9f100879a730d341f89a035d8386685d71a3a44
CRs-Fixed: 2135911
Jeff Johnson 7 år sedan
förälder
incheckning
e2ba3cdc2d

+ 1 - 1
core/hdd/inc/wlan_hdd_main.h

@@ -1683,7 +1683,7 @@ struct hdd_context {
 	/* Interface change lock */
 	struct mutex iface_change_lock;
 	bool rps;
-	bool enableRxThread;
+	bool enable_rxthread;
 	bool napi_enable;
 	bool stop_modules_in_progress;
 	bool start_modules_in_progress;

+ 1 - 1
core/hdd/src/wlan_hdd_cfg.c

@@ -7187,7 +7187,7 @@ static void hdd_set_rx_mode_value(struct hdd_context *hdd_ctx)
 	}
 
 	if (hdd_ctx->config->rx_mode & CFG_ENABLE_RX_THREAD)
-		hdd_ctx->enableRxThread = true;
+		hdd_ctx->enable_rxthread = true;
 
 	if (hdd_ctx->config->rx_mode & CFG_ENABLE_RPS)
 		hdd_ctx->rps = true;

+ 1 - 1
core/hdd/src/wlan_hdd_main.c

@@ -8273,7 +8273,7 @@ static int hdd_update_cds_config(struct hdd_context *hdd_ctx)
 
 	cds_cfg->ip_tcp_udp_checksum_offload =
 		hdd_ctx->config->enable_ip_tcp_udp_checksum_offload;
-	cds_cfg->enable_rxthread = hdd_ctx->enableRxThread;
+	cds_cfg->enable_rxthread = hdd_ctx->enable_rxthread;
 	cds_cfg->ce_classify_enabled =
 		hdd_ctx->config->ce_classify_enabled;
 	cds_cfg->bpf_packet_filter_enable =

+ 1 - 1
core/hdd/src/wlan_hdd_softap_tx_rx.c

@@ -803,7 +803,7 @@ QDF_STATUS hdd_softap_rx_packet_cbk(void *context, qdf_nbuf_t rxBuf)
 		 */
 		qdf_net_buf_debug_release_skb(skb);
 		if (hdd_napi_enabled(HDD_NAPI_ANY) &&
-			!hdd_ctx->enableRxThread)
+			!hdd_ctx->enable_rxthread)
 			rxstat = netif_receive_skb(skb);
 		else
 			rxstat = netif_rx_ni(skb);

+ 1 - 1
core/hdd/src/wlan_hdd_tx_rx.c

@@ -1343,7 +1343,7 @@ QDF_STATUS hdd_rx_packet_cbk(void *context, qdf_nbuf_t rxBuf)
 		if (HDD_LRO_NO_RX ==
 			 hdd_lro_rx(hdd_ctx, adapter, skb)) {
 			if (hdd_napi_enabled(HDD_NAPI_ANY) &&
-				!hdd_ctx->enableRxThread &&
+				!hdd_ctx->enable_rxthread &&
 				!QDF_NBUF_CB_RX_PEER_CACHED_FRM(skb))
 				rxstat = netif_receive_skb(skb);
 			else