diff options
author | Vinayak Yadawad <vinayak.yadawad@broadcom.com> | 2022-09-07 18:14:48 +0530 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2022-10-07 15:27:40 +0200 |
commit | 0ff57171d6d225558c81a69439d5323e35b40549 (patch) | |
tree | d6e899afeb8ffa4d54261f0845a24b285c525c92 /net/wireless/util.c | |
parent | 4857ed9385fbd25060051cc42a93c3074de2f4dd (diff) | |
download | lwn-0ff57171d6d225558c81a69439d5323e35b40549.tar.gz lwn-0ff57171d6d225558c81a69439d5323e35b40549.zip |
cfg80211: Update Transition Disable policy during port authorization
In case of 4way handshake offload, transition disable policy
updated by the AP during EAPOL 3/4 is not updated to the upper layer.
This results in mismatch between transition disable policy
between the upper layer and the driver. This patch addresses this
issue by updating transition disable policy as part of port
authorization indication.
Signed-off-by: Vinayak Yadawad <vinayak.yadawad@broadcom.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/util.c')
-rw-r--r-- | net/wireless/util.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/wireless/util.c b/net/wireless/util.c index 01493568a21d..f09d528e5199 100644 --- a/net/wireless/util.c +++ b/net/wireless/util.c @@ -988,7 +988,9 @@ void cfg80211_process_wdev_events(struct wireless_dev *wdev) __cfg80211_leave(wiphy_to_rdev(wdev->wiphy), wdev); break; case EVENT_PORT_AUTHORIZED: - __cfg80211_port_authorized(wdev, ev->pa.bssid); + __cfg80211_port_authorized(wdev, ev->pa.bssid, + ev->pa.td_bitmap, + ev->pa.td_bitmap_len); break; } wdev_unlock(wdev); |