diff --git a/core/hdd/inc/wlan_hdd_main.h b/core/hdd/inc/wlan_hdd_main.h index ce0ba1249ae2..860c65fdb9fd 100644 --- a/core/hdd/inc/wlan_hdd_main.h +++ b/core/hdd/inc/wlan_hdd_main.h @@ -1085,7 +1085,7 @@ struct hdd_adapter { struct completion ibss_peer_info_comp; /* Track whether the linkup handling is needed */ - bool isLinkUpSvcNeeded; + bool is_link_up_service_needed; /* Mgmt Frames TX completion status code */ uint32_t mgmtTxCompletionStatus; diff --git a/core/hdd/src/wlan_hdd_assoc.c b/core/hdd/src/wlan_hdd_assoc.c index 68b149df2f9e..f6d1b276dd63 100644 --- a/core/hdd/src/wlan_hdd_assoc.c +++ b/core/hdd/src/wlan_hdd_assoc.c @@ -2680,7 +2680,7 @@ hdd_association_completion_handler(struct hdd_adapter *adapter, * Enable Linkup Event Servicing which allows the net * device notifier to set the linkup event variable. */ - adapter->isLinkUpSvcNeeded = true; + adapter->is_link_up_service_needed = true; /* Switch on the Carrier to activate the device */ wlan_hdd_netif_queue_control(adapter, @@ -2702,7 +2702,7 @@ hdd_association_completion_handler(struct hdd_adapter *adapter, * Disable Linkup Event Servicing - no more service * required from the net device notifier call. */ - adapter->isLinkUpSvcNeeded = false; + adapter->is_link_up_service_needed = false; } else { sta_ctx->ft_carrier_on = false; ft_carrier_on = true; diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 951ccdfc6bdc..7119583f108f 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -539,7 +539,7 @@ static int __hdd_netdev_notifier_call(struct notifier_block *nb, break; case NETDEV_CHANGE: - if (true == adapter->isLinkUpSvcNeeded) + if (adapter->is_link_up_service_needed) complete(&adapter->linkup_event_var); break; @@ -3167,7 +3167,7 @@ static struct hdd_adapter *hdd_alloc_station_adapter(struct hdd_context *hdd_ctx init_completion(&adapter->lfr_fw_status.disable_lfr_event); adapter->offloads_configured = false; - adapter->isLinkUpSvcNeeded = false; + adapter->is_link_up_service_needed = false; adapter->higherDtimTransition = true; /* Init the net_device structure */ strlcpy(pWlanDev->name, name, IFNAMSIZ); @@ -5183,7 +5183,7 @@ QDF_STATUS hdd_start_all_adapters(struct hdd_context *hdd_ctx) hdd_init_station_mode(adapter); /* Open the gates for HDD to receive Wext commands */ - adapter->isLinkUpSvcNeeded = false; + adapter->is_link_up_service_needed = false; /* Indicate disconnect event to supplicant * if associated previously