netlink: pass extended ACK struct to parsing functions
Pass the new extended ACK reporting struct to all of the generic netlink parsing functions. For now, pass NULL in almost all callers (except for some in the core.) Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
ba0dc5f6e0
commit
fceb6435e8
@@ -366,7 +366,8 @@ int wl1271_tm_cmd(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
|
||||
u32 nla_cmd;
|
||||
int err;
|
||||
|
||||
err = nla_parse(tb, WL1271_TM_ATTR_MAX, data, len, wl1271_tm_policy);
|
||||
err = nla_parse(tb, WL1271_TM_ATTR_MAX, data, len, wl1271_tm_policy,
|
||||
NULL);
|
||||
if (err)
|
||||
return err;
|
||||
|
||||
|
@@ -41,7 +41,7 @@ wlcore_vendor_cmd_smart_config_start(struct wiphy *wiphy,
|
||||
return -EINVAL;
|
||||
|
||||
ret = nla_parse(tb, MAX_WLCORE_VENDOR_ATTR, data, data_len,
|
||||
wlcore_vendor_attr_policy);
|
||||
wlcore_vendor_attr_policy, NULL);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
@@ -116,7 +116,7 @@ wlcore_vendor_cmd_smart_config_set_group_key(struct wiphy *wiphy,
|
||||
return -EINVAL;
|
||||
|
||||
ret = nla_parse(tb, MAX_WLCORE_VENDOR_ATTR, data, data_len,
|
||||
wlcore_vendor_attr_policy);
|
||||
wlcore_vendor_attr_policy, NULL);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
|
Reference in New Issue
Block a user