Commit f971e18
committed
nl80211: fix locking in nl80211_set_tx_bitrate_mask()
This accesses the wdev's chandef etc., so cannot safely
be used without holding the lock.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://lore.kernel.org/r/20220506102136.06b7205419e6.I2a87c05fbd8bc5e565e84d190d4cfd2e92695a90@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>1 parent 9e2db50 commit f971e18
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11666 | 11666 | | |
11667 | 11667 | | |
11668 | 11668 | | |
| 11669 | + | |
11669 | 11670 | | |
11670 | 11671 | | |
11671 | 11672 | | |
11672 | 11673 | | |
11673 | 11674 | | |
| 11675 | + | |
11674 | 11676 | | |
11675 | 11677 | | |
11676 | 11678 | | |
11677 | 11679 | | |
11678 | | - | |
| 11680 | + | |
11679 | 11681 | | |
11680 | | - | |
| 11682 | + | |
| 11683 | + | |
| 11684 | + | |
| 11685 | + | |
11681 | 11686 | | |
11682 | 11687 | | |
11683 | 11688 | | |
| |||
0 commit comments