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;