summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/interrupts.py
diff options
context:
space:
mode:
authorMichael Lo <michael.lo@mediatek.com>2025-06-12 09:20:46 +0300
committerFelix Fietkau <nbd@nbd.name>2025-07-07 18:42:20 +0300
commitc701574c54121af2720648572efbfe77564652d1 (patch)
tree8502ea1c76403b64e73d81fcea9526445089c5fd /scripts/gdb/linux/interrupts.py
parentd20de55332e92f9e614c34783c00bb6ce2fec067 (diff)
downloadlinux-c701574c54121af2720648572efbfe77564652d1.tar.xz
wifi: mt76: mt7925: fix invalid array index in ssid assignment during hw scan
Update the destination index to use 'n_ssids', which is incremented only when a valid SSID is present. Previously, both mt76_connac_mcu_hw_scan() and mt7925_mcu_hw_scan() used the loop index 'i' for the destination array, potentially leaving gaps if any source SSIDs had zero length. Cc: stable@vger.kernel.org Fixes: c948b5da6bbe ("wifi: mt76: mt7925: add Mediatek Wi-Fi7 driver for mt7925 chips") Signed-off-by: Michael Lo <michael.lo@mediatek.com> Signed-off-by: Ming Yen Hsieh <mingyen.hsieh@mediatek.com> Link: https://patch.msgid.link/20250612062046.160598-1-mingyen.hsieh@mediatek.com Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions