Commit 38424d7
committed
wifi: mac80211: fix non-transmitted BSSID profile search
JIRA: https://issues.redhat.com/browse/RHEL-114891
commit e1e6ebf
Author: Johannes Berg <johannes.berg@intel.com>
Date: Mon Jun 30 15:45:01 2025 +0200
wifi: mac80211: fix non-transmitted BSSID profile search
When the non-transmitted BSSID profile is found, immediately return
from the search to not return the wrong profile_len when the profile
is found in a multiple BSSID element that isn't the last one in the
frame.
Fixes: 5023b14 ("mac80211: support profile split between elements")
Reported-by: Michael-CY Lee <michael-cy.lee@mediatek.com>
Link: https://patch.msgid.link/20250630154501.f26cd45a0ecd.I28e0525d06e8a99e555707301bca29265cf20dc8@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Jose Ignacio Tornos Martinez <jtornosm@redhat.com>1 parent 0c6380a commit 38424d7
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
758 | 758 | | |
759 | 759 | | |
760 | 760 | | |
761 | | - | |
762 | 761 | | |
763 | 762 | | |
764 | 763 | | |
| |||
809 | 808 | | |
810 | 809 | | |
811 | 810 | | |
812 | | - | |
813 | 811 | | |
814 | 812 | | |
815 | | - | |
| 813 | + | |
816 | 814 | | |
817 | 815 | | |
818 | 816 | | |
819 | 817 | | |
820 | | - | |
| 818 | + | |
821 | 819 | | |
822 | 820 | | |
823 | 821 | | |
| |||
0 commit comments