diff --git a/core/hdd/inc/wlan_hdd_main.h b/core/hdd/inc/wlan_hdd_main.h index 163d1a06bff5..8266749c9f23 100644 --- a/core/hdd/inc/wlan_hdd_main.h +++ b/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; diff --git a/core/hdd/src/wlan_hdd_cfg.c b/core/hdd/src/wlan_hdd_cfg.c index 5997204bb55a..52d44f019c37 100644 --- a/core/hdd/src/wlan_hdd_cfg.c +++ b/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; diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 11d881a53279..8e197ad88980 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/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 = diff --git a/core/hdd/src/wlan_hdd_softap_tx_rx.c b/core/hdd/src/wlan_hdd_softap_tx_rx.c index a70a0ad6f9ec..58569d8eaa40 100644 --- a/core/hdd/src/wlan_hdd_softap_tx_rx.c +++ b/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); diff --git a/core/hdd/src/wlan_hdd_tx_rx.c b/core/hdd/src/wlan_hdd_tx_rx.c index c44d821c98b7..cc6f3eb59da6 100644 --- a/core/hdd/src/wlan_hdd_tx_rx.c +++ b/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