mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 04:59:05 -04:00
qcacld-3.0: Use roam profile accessor in wlan_hdd_scan.c
Update wlan_hdd_scan.c to use the recently introduced roam profile accessor function hdd_roam_profile(). Change-Id: I0aec410024263a2f44b79cbcb5f49b3347a5b46f CRs-Fixed: 2207895
This commit is contained in:
parent
a0c1ca7751
commit
eb21475834
1 changed files with 5 additions and 3 deletions
|
|
@ -424,7 +424,6 @@ static int __wlan_hdd_cfg80211_scan(struct wiphy *wiphy,
|
|||
struct hdd_scan_info *scan_info = NULL;
|
||||
struct hdd_adapter *con_sap_adapter;
|
||||
uint16_t con_dfs_ch;
|
||||
struct hdd_wext_state *pwextBuf = WLAN_HDD_GET_WEXT_STATE_PTR(adapter);
|
||||
uint8_t curr_session_id;
|
||||
enum scan_reject_states curr_reason;
|
||||
static uint32_t scan_ebusy_cnt;
|
||||
|
|
@ -618,9 +617,12 @@ static int __wlan_hdd_cfg80211_scan(struct wiphy *wiphy,
|
|||
if ((QDF_STA_MODE == adapter->device_mode) ||
|
||||
(QDF_P2P_CLIENT_MODE == adapter->device_mode) ||
|
||||
(QDF_P2P_DEVICE_MODE == adapter->device_mode)) {
|
||||
pwextBuf->roamProfile.pAddIEScan =
|
||||
struct csr_roam_profile *roam_profile =
|
||||
hdd_roam_profile(adapter);
|
||||
|
||||
roam_profile->pAddIEScan =
|
||||
scan_info->scan_add_ie.addIEdata;
|
||||
pwextBuf->roamProfile.nAddIEScanLength =
|
||||
roam_profile->nAddIEScanLength =
|
||||
scan_info->scan_add_ie.length;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue