Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f4515217 authored by Ramanasarvesh Sadula's avatar Ramanasarvesh Sadula Committed by Dundi Raviteja
Browse files

wlan: Migrate to 4.14 kernel as per the API nla_parse

The API "nla_parse" has changed with an extra argument of
"struct netlink_ext_ack *extack" for kernel versions
greater than or equal to 4.14. As part of 4.14 migration
passing NULL to that extra argument.

Change-Id: I43838e54762b16b66130c2bd12616fce47a37587
CRs-Fixed: 2696972
parent 793e6251
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2119,4 +2119,8 @@ void wlan_hdd_cfg80211_scan_randomization_init(struct wiphy *wiphy)
}
#endif

#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0))
#define nla_parse(a, b, c, d, e) nla_parse(a, b, c, d, e, NULL)
#endif

#endif