From 43837af883f7969c350f12b52cd3f4a53e60099b Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Wed, 17 Oct 2018 12:44:05 -0700 Subject: [PATCH] qcacld-3.0: Replace new instance of tHalHandle in wlan_hdd_main Previously "qcacld-3.0: Use mac_handle_t in wlan_hdd_main" (Change If9ddbe0935d859d4c71dc11576cd7062a715b3e9) replaced all instances of tHalHandle with mac_handle_t in wlan_hdd_main. But subsequently change "qcacld-3.0: Allow Setting Channel&Bandwidth in STA mode" (Change Ie9ffc701d93ed1c050375dd56151b7a0da69cdce) introduced a new instance, so replace it as well. Change-Id: I01e67401b0eb99b242a7a0b0d161696cbe2fba79 CRs-Fixed: 2335139 --- core/hdd/src/wlan_hdd_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 9622c49c2c8a..6d4edf863204 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -5992,7 +5992,7 @@ int wlan_hdd_set_mon_chan(struct hdd_adapter *adapter, uint32_t chan, struct hdd_station_ctx *sta_ctx = WLAN_HDD_GET_STATION_CTX_PTR(adapter); struct hdd_mon_set_ch_info *ch_info = &sta_ctx->ch_info; QDF_STATUS status; - tHalHandle hal_hdl = hdd_ctx->mac_handle; + mac_handle_t mac_handle = hdd_ctx->mac_handle; struct qdf_mac_addr bssid; struct csr_roam_profile roam_profile; struct ch_params ch_params; @@ -6046,8 +6046,8 @@ int wlan_hdd_set_mon_chan(struct hdd_adapter *adapter, uint32_t chan, roam_profile.ch_params.ch_width = bandwidth; hdd_select_cbmode(adapter, chan, &roam_profile.ch_params); if (hdd_ctx->config->enable_change_channel_bandwidth && - (!sme_find_session_by_bssid(hal_hdl, adapter->mac_addr.bytes))) { - status = sme_create_mon_session(hal_hdl, + (!sme_find_session_by_bssid(mac_handle, adapter->mac_addr.bytes))) { + status = sme_create_mon_session(mac_handle, adapter->mac_addr.bytes, adapter->session_id); if (status != QDF_STATUS_SUCCESS) {