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:
Jeff Johnson 2017-10-30 20:02:09 -07:00
commit e2ba3cdc2d
5 changed files with 5 additions and 5 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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 =

View file

@ -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);

View file

@ -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