qcacld-3.0: Remove obsolete hdd_hostapd_state bCommit flag

The hdd_hostapd_state bCommit flag is a remnant from a prior version
of the driver. This flag is written, but never read, and hence
obviously has no purpose, so remove it.

Change-Id: If4fd93f474fcd6e01cdc51b1575a3509b538b504
CRs-Fixed: 2126889
This commit is contained in:
Jeff Johnson 2017-10-14 17:16:31 -07:00 • committed by snandini
commit 3525cdd50f
3 changed files with 0 additions and 5 deletions

View file

@ -701,7 +701,6 @@ struct hdd_hostapd_state {
qdf_event_t qdf_stop_bss_event;
qdf_event_t qdf_sta_disassoc_event;
QDF_STATUS qdf_status;
bool bCommit;
};
/**

View file

@ -8071,7 +8071,6 @@ int wlan_hdd_cfg80211_start_bss(struct hdd_adapter *adapter,
hdd_unsafe_channel_restart_sap(hdd_ctx);
hdd_set_connection_in_progress(false);
hostapd_state->bCommit = true;
EXIT();
ret = 0;

View file

@ -10851,8 +10851,6 @@ void wlan_hdd_start_sap(struct hdd_adapter *ap_adapter, bool reinit)
policy_mgr_incr_active_session(hdd_ctx->hdd_psoc,
ap_adapter->device_mode,
ap_adapter->sessionId);
hostapd_state->bCommit = true;
end:
mutex_unlock(&hdd_ctx->sap_lock);
/* SAP context and beacon cleanup will happen during driver unload
@ -12439,7 +12437,6 @@ void hdd_restart_sap(struct hdd_adapter *ap_adapter)
policy_mgr_incr_active_session(hdd_ctx->hdd_psoc,
ap_adapter->device_mode,
ap_adapter->sessionId);
hostapd_state->bCommit = true;
}
end:
mutex_unlock(&hdd_ctx->sap_lock);