]> www.infradead.org Git - users/willy/pagecache.git/commit
wifi: nl80211: fix sending link ID info of associated BSS
authorVeerendranath Jakkam <quic_vjakkam@quicinc.com>
Fri, 8 Jul 2022 12:26:07 +0000 (17:56 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 Jul 2022 08:20:18 +0000 (10:20 +0200)
commit3c512307de4097aaaab3f4741c7a98fe88afa469
tree67b1965fc397e3ba17e019fb5d298e43cb6a8593
parentc528d7a2750a27174a30dffe42600f16c15bdb87
wifi: nl80211: fix sending link ID info of associated BSS

commit dd374f84baec ("wifi: nl80211: expose link ID for associated
BSSes") used a top-level attribute to send link ID of the associated
BSS in the nested attribute NL80211_ATTR_BSS. But since NL80211_ATTR_BSS
is a nested attribute of the attributes defined in enum nl80211_bss,
define a new attribute in enum nl80211_bss and use it for sending the
link ID of the BSS.

Fixes: dd374f84baec ("wifi: nl80211: expose link ID for associated BSSes")
Signed-off-by: Veerendranath Jakkam <quic_vjakkam@quicinc.com>
Reviewed-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Link: https://lore.kernel.org/r/20220708122607.1836958-1-quic_vjakkam@quicinc.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/uapi/linux/nl80211.h
net/wireless/nl80211.c