qcacld-3.0: Remove struct hdd_context::disconnect_for_sta_mon_conc

The logic that used struct hdd_context::disconnect_for_sta_mon_conc
was removed with:
  qcacld-3.0: Code cleanup for connection manager in HDD
  Change-Id I2934e4a867458561c50170b0e786e63f20f1af4a

This member is now only written and never read, hence it is obsolete,
so remove it.

Change-Id: Iff1b4a1e508bc193c9d40c11f31317f353874b52
CRs-Fixed: 3424792
This commit is contained in:
Jeff Johnson
2023-03-04 13:39:17 -08:00
committed by Madan Koyyalamudi
parent 0180c53486
commit 9f728c40cb
2 changed files with 0 additions and 3 deletions

View File

@@ -1884,7 +1884,6 @@ enum wlan_state_ctrl_str_id {
* @ll_stats_per_chan_rx_tx_time: * @ll_stats_per_chan_rx_tx_time:
* @is_get_station_clubbed_in_ll_stats_req: * @is_get_station_clubbed_in_ll_stats_req:
* @multi_client_thermal_mitigation: Multi client thermal mitigation by fw * @multi_client_thermal_mitigation: Multi client thermal mitigation by fw
* @disconnect_for_sta_mon_conc: disconnect if sta monitor intf concurrency
* @is_dual_mac_cfg_updated: indicate whether dual mac cfg has been updated * @is_dual_mac_cfg_updated: indicate whether dual mac cfg has been updated
* @is_regulatory_update_in_progress: * @is_regulatory_update_in_progress:
* @regulatory_update_event: * @regulatory_update_event:
@@ -2157,7 +2156,6 @@ struct hdd_context {
#ifdef FEATURE_WPSS_THERMAL_MITIGATION #ifdef FEATURE_WPSS_THERMAL_MITIGATION
bool multi_client_thermal_mitigation; bool multi_client_thermal_mitigation;
#endif #endif
bool disconnect_for_sta_mon_conc;
bool is_dual_mac_cfg_updated; bool is_dual_mac_cfg_updated;
bool is_regulatory_update_in_progress; bool is_regulatory_update_in_progress;
qdf_event_t regulatory_update_event; qdf_event_t regulatory_update_event;

View File

@@ -19715,7 +19715,6 @@ wlan_hdd_add_monitor_check(struct hdd_context *hdd_ctx,
NULL); NULL);
if (num_open_session == 1) { if (num_open_session == 1) {
hdd_ctx->disconnect_for_sta_mon_conc = true;
/* Try disconnecting if already in connected state */ /* Try disconnecting if already in connected state */
wlan_hdd_cm_issue_disconnect(sta_adapter, wlan_hdd_cm_issue_disconnect(sta_adapter,
REASON_UNSPEC_FAILURE, REASON_UNSPEC_FAILURE,