mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
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
This commit is contained in:
parent
19fc8e4ed5
commit
e2ba3cdc2d
5 changed files with 5 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 =
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue