diff options
author | 2023-10-05 22:57:34 +0200 | |
---|---|---|
committer | 2023-10-06 17:08:47 +0300 | |
commit | 7d6904bf26b96ef087514cb7a8c50b62a4911c99 (patch) | |
tree | 2feaff8495d88c2102dc2e017b7afc5c58db02d6 /net/wireless/mlme.c | |
parent | wifi: rtlwifi: remove unreachable code in rtl92d_dm_check_edca_turbo() (diff) | |
parent | wifi: iwlwifi: mvm: Fix incorrect usage of scan API (diff) | |
download | wireguard-linux-7d6904bf26b96ef087514cb7a8c50b62a4911c99.tar.xz wireguard-linux-7d6904bf26b96ef087514cb7a8c50b62a4911c99.zip |
Merge wireless into wireless-next
Resolve several conflicts, mostly between changes/fixes in
wireless and the locking rework in wireless-next. One of
the conflicts actually shows a bug in wireless that we'll
want to fix separately.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Diffstat (limited to 'net/wireless/mlme.c')
-rw-r--r-- | net/wireless/mlme.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/wireless/mlme.c b/net/wireless/mlme.c index cc7ae9ea84ea..579fea2f3548 100644 --- a/net/wireless/mlme.c +++ b/net/wireless/mlme.c @@ -52,7 +52,8 @@ void cfg80211_rx_assoc_resp(struct net_device *dev, cr.links[link_id].bssid = data->links[link_id].bss->bssid; cr.links[link_id].addr = data->links[link_id].addr; /* need to have local link addresses for MLO connections */ - WARN_ON(cr.ap_mld_addr && !cr.links[link_id].addr); + WARN_ON(cr.ap_mld_addr && + !is_valid_ether_addr(cr.links[link_id].addr)); BUG_ON(!cr.links[link_id].bss->channel); |