Patch "wifi: cfg80211: handle IBSS in channel switch" has been added to the 5.19-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    wifi: cfg80211: handle IBSS in channel switch

to the 5.19-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     wifi-cfg80211-handle-ibss-in-channel-switch.patch
and it can be found in the queue-5.19 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.


>From 77e7b6ba78edf817bddfa97fadb15a971992b1ee Mon Sep 17 00:00:00 2001
From: Johannes Berg <johannes.berg@xxxxxxxxx>
Date: Mon, 27 Jun 2022 12:36:03 +0200
Subject: wifi: cfg80211: handle IBSS in channel switch

From: Johannes Berg <johannes.berg@xxxxxxxxx>

commit 77e7b6ba78edf817bddfa97fadb15a971992b1ee upstream.

Prior to commit 7b0a0e3c3a88 ("wifi: cfg80211: do some
rework towards MLO link APIs") the interface type didn't
really matter here, but now we need to handle all of the
possible cases. Add IBSS ("ADHOC") and handle it.

Fixes: 7b0a0e3c3a88 ("wifi: cfg80211: do some rework towards MLO link APIs")
Reported-by: syzbot+90d912872157e63589e4@xxxxxxxxxxxxxxxxxxxxxxxxx
Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
 net/wireless/nl80211.c |    3 +++
 1 file changed, 3 insertions(+)

--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@ -18294,6 +18294,9 @@ void cfg80211_ch_switch_notify(struct ne
 	case NL80211_IFTYPE_P2P_GO:
 		wdev->links[link_id].ap.chandef = *chandef;
 		break;
+	case NL80211_IFTYPE_ADHOC:
+		wdev->u.ibss.chandef = *chandef;
+		break;
 	default:
 		WARN_ON(1);
 		break;


Patches currently in stable-queue which might be from johannes.berg@xxxxxxxxx are

queue-5.19/wifi-cfg80211-remove-chandef-check-in-cfg80211_cac_event.patch
queue-5.19/wifi-cfg80211-do-some-rework-towards-mlo-link-apis.patch
queue-5.19/wifi-mac80211-reject-wep-or-pairwise-keys-with-key-i.patch
queue-5.19/wifi-mac80211_hwsim-use-32-bit-skb-cookie.patch
queue-5.19/wifi-mac80211_hwsim-add-back-erroneously-removed-cast.patch
queue-5.19/wifi-mac80211-set-sta-deflink-addresses.patch
queue-5.19/wifi-mac80211-move-some-future-per-link-data-to-bss_.patch
queue-5.19/wifi-mac80211_hwsim-fix-race-condition-in-pending-packet.patch
queue-5.19/wifi-cfg80211-handle-ibss-in-channel-switch.patch
queue-5.19/wifi-nl80211-acquire-wdev-mutex-for-dump_survey.patch
queue-5.19/wifi-nl80211-hold-wdev-mutex-for-tid-config.patch
queue-5.19/wifi-nl80211-acquire-wdev-mutex-earlier-in-start_ap.patch
queue-5.19/wifi-nl80211-relax-wdev-mutex-check-in-wdev_chandef.patch



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux