mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
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:
parent
7f9cf231ea
commit
3525cdd50f
3 changed files with 0 additions and 5 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue