diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2013-08-19 01:38:00 +0200 |
---|---|---|
committer | Luis R. Rodriguez <mcgrof@do-not-panic.com> | 2013-08-27 11:43:04 -0700 |
commit | 15e7ea60c98e8d1a234142e0dafe23b6a0e7e4bb (patch) | |
tree | 5d56fbc902bb891f316925b8ea99c5073ed6be8c | |
parent | f65e232d6789c8cb8fc86b7efcba2b25a2abdbd4 (diff) |
backports: use genl_info_snd_portid() at an other place.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
-rw-r--r-- | patches/collateral-evolutions/network/0005-netlink-portid/nl80211.patch | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/patches/collateral-evolutions/network/0005-netlink-portid/nl80211.patch b/patches/collateral-evolutions/network/0005-netlink-portid/nl80211.patch index 4664bc12..478c4e40 100644 --- a/patches/collateral-evolutions/network/0005-netlink-portid/nl80211.patch +++ b/patches/collateral-evolutions/network/0005-netlink-portid/nl80211.patch @@ -189,7 +189,16 @@ NL80211_CMD_GET_WOWLAN); if (!hdr) goto nla_put_failure; -@@ -8098,7 +8098,7 @@ static int nl80211_register_unexpected_f +@@ -8152,7 +8152,7 @@ static int nl80211_get_coalesce(struct s + if (!msg) + return -ENOMEM; + +- hdr = nl80211hdr_put(msg, info->snd_portid, info->snd_seq, 0, ++ hdr = nl80211hdr_put(msg, genl_info_snd_portid(info), info->snd_seq, 0, + NL80211_CMD_GET_COALESCE); + if (!hdr) + goto nla_put_failure; +@@ -8405,7 +8405,7 @@ static int nl80211_register_unexpected_f if (wdev->ap_unexpected_nlportid) return -EBUSY; |