mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
qcacmn: Replace nla_parse API with the wrapper API
Wrapper API is required to support building against multiple Linux Kernel versions. CRs-Fixed: 2184496 Change-Id: Ic4f3f6cf10910bd20b89dee0b250ea3ff265be70
This commit is contained in:
parent
0261f94dd5
commit
2d45067512
1 changed files with 3 additions and 2 deletions
|
|
@ -23,6 +23,7 @@
|
|||
#include <net/cfg80211.h>
|
||||
#include <qdf_util.h>
|
||||
#include <wlan_objmgr_pdev_obj.h>
|
||||
#include <wlan_cfg80211.h>
|
||||
#include <wlan_cfg80211_ftm.h>
|
||||
#include <wlan_ftm_ucfg_api.h>
|
||||
#include <wlan_osif_priv.h>
|
||||
|
|
@ -82,8 +83,8 @@ wlan_cfg80211_ftm_testmode_cmd(struct wlan_objmgr_pdev *pdev,
|
|||
|
||||
ftm_pdev_obj->cmd_type = WIFI_FTM_CMD_NL80211;
|
||||
|
||||
err = nla_parse(tb, WLAN_CFG80211_FTM_ATTR_MAX - 1, data,
|
||||
len, wlan_cfg80211_ftm_policy);
|
||||
err = wlan_cfg80211_nla_parse(tb, WLAN_CFG80211_FTM_ATTR_MAX - 1, data,
|
||||
len, wlan_cfg80211_ftm_policy);
|
||||
if (err) {
|
||||
ftm_err("Testmode INV ATTR");
|
||||
return err;
|
||||
|
|
|
|||
Loading…
Reference in a new issue