Commit b4d46b4
wifi: rtw88: Fix inadvertent sharing of struct ieee80211_supported_band data
[ Upstream commit fcac0f2 ]
Internally wiphy writes to individual channels in this structure,
so we must not share one static definition of channel list between
multiple device instances, because that causes hard to debug
breakage.
For example, with two rtw88 driven devices in the system, channel
information may get incoherent, preventing channel use.
Copied from commit 0ae3639 ("wifi: rtw89: Fix inadverent sharing
of struct ieee80211_supported_band data").
Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/e94ad653-2b6d-4284-a33c-8c694f88955b@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 9b54180 commit b4d46b4
1 file changed
+29
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1629 | 1629 | | |
1630 | 1630 | | |
1631 | 1631 | | |
| 1632 | + | |
| 1633 | + | |
| 1634 | + | |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
| 1643 | + | |
| 1644 | + | |
| 1645 | + | |
| 1646 | + | |
| 1647 | + | |
| 1648 | + | |
| 1649 | + | |
| 1650 | + | |
| 1651 | + | |
| 1652 | + | |
| 1653 | + | |
| 1654 | + | |
| 1655 | + | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
1632 | 1659 | | |
1633 | 1660 | | |
1634 | 1661 | | |
1635 | 1662 | | |
1636 | 1663 | | |
1637 | | - | |
1638 | 1664 | | |
1639 | 1665 | | |
1640 | | - | |
1641 | | - | |
| 1666 | + | |
1642 | 1667 | | |
1643 | 1668 | | |
1644 | 1669 | | |
| |||
1647 | 1672 | | |
1648 | 1673 | | |
1649 | 1674 | | |
1650 | | - | |
1651 | | - | |
| 1675 | + | |
1652 | 1676 | | |
1653 | 1677 | | |
1654 | 1678 | | |
| |||
0 commit comments