diff options
| author | StanleyYP Wang <StanleyYP.Wang@mediatek.com> | 2023-06-05 23:21:38 +0800 |
|---|---|---|
| committer | Felix Fietkau <nbd@nbd.name> | 2023-07-25 21:59:42 +0200 |
| commit | 9ffe0d5690ed916e09baad2cc9ee7ec65b110038 (patch) | |
| tree | 953219a77ffa399e8b73fa79210247ab52b6563d /lib/mpi/mpiutil.c | |
| parent | 83a10ae2d4c5b00fd597a7a7a5e7ceefef9bd116 (diff) | |
wifi: mt76: mt7996: use correct phy for background radar event
If driver directly uses the band_idx reported from the radar event to
access mt76_phy array, it will get the wrong phy for background radar.
Fix this by adjusting the statement.
Fixes: 98686cd21624 ("wifi: mt76: mt7996: add driver for MediaTek Wi-Fi 7 (802.11be) devices")
Signed-off-by: StanleyYP Wang <StanleyYP.Wang@mediatek.com>
Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
