mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
qcacld-3.0: Use roam profile accessor in wlan_hdd_nan_datapath.c
Update wlan_hdd_nan_datapath.c to use the recently introduced roam profile accessor function hdd_roam_profile(). Change-Id: I442aa7a4ea62f8a5105ed7d7783394f883d5f215 CRs-Fixed: 2207893
This commit is contained in:
parent
025618cb1a
commit
641839e239
1 changed files with 2 additions and 7 deletions
|
|
@ -168,16 +168,11 @@ static int hdd_ndi_start_bss(struct hdd_adapter *adapter,
|
|||
{
|
||||
int ret;
|
||||
uint32_t roam_id;
|
||||
struct hdd_wext_state *wext_state =
|
||||
WLAN_HDD_GET_WEXT_STATE_PTR(adapter);
|
||||
struct csr_roam_profile *roam_profile = &wext_state->roamProfile;
|
||||
struct csr_roam_profile *roam_profile;
|
||||
|
||||
hdd_enter();
|
||||
|
||||
if (!roam_profile) {
|
||||
hdd_err("No valid roam profile");
|
||||
return -EINVAL;
|
||||
}
|
||||
roam_profile = hdd_roam_profile(adapter);
|
||||
|
||||
if (HDD_WMM_USER_MODE_NO_QOS ==
|
||||
(WLAN_HDD_GET_CTX(adapter))->config->WmmMode) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue