wifi: cfg80211: Allow P2P client interface to indicate port authorization
authorVinayak Yadawad <vinayak.yadawad@broadcom.com>
Wed, 22 Jun 2022 13:47:39 +0000 (19:17 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 29 Jun 2022 09:43:15 +0000 (11:43 +0200)
commit8d70f33ed7207e82e51d5a4436c8ba2268a83b14
treed69e2f4e607b776085e6c766c72436c8dbbf74e6
parentf856373e2f31ffd340e47e2b00027bd4070f74b3
wifi: cfg80211: Allow P2P client interface to indicate port authorization

In case of 4way handshake offload, cfg80211_port_authorized
enables driver to indicate successful 4way handshake to cfg80211 layer.
Currently this path of port authorization is restricted to
interface type NL80211_IFTYPE_STATION. This patch extends
the use of port authorization API for P2P client as well.

Signed-off-by: Vinayak Yadawad <vinayak.yadawad@broadcom.com>
Link: https://lore.kernel.org/r/ef25cb49fcb921df2e5d99e574f65e8a009cc52c.1655905440.git.vinayak.yadawad@broadcom.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/sme.c