Commit 98849ba
committed
wifi: mac80211: check defragmentation succeeded
We need to check that cfg80211_defragment_element()
didn't return an error, since it can fail due to bad
input, and we didn't catch that before.
Fixes: 8eb8dd2 ("wifi: mac80211: Support link removal using Reconfiguration ML element")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20231211085121.8595a6b67fc0.I1225edd8f98355e007f96502e358e476c7971d8c@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>1 parent 63bafd9 commit 98849ba
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5782 | 5782 | | |
5783 | 5783 | | |
5784 | 5784 | | |
5785 | | - | |
| 5785 | + | |
5786 | 5786 | | |
5787 | 5787 | | |
5788 | 5788 | | |
| |||
5798 | 5798 | | |
5799 | 5799 | | |
5800 | 5800 | | |
| 5801 | + | |
| 5802 | + | |
5801 | 5803 | | |
5802 | 5804 | | |
5803 | 5805 | | |
| |||
0 commit comments