wifi: mt76: mt7915: rework eeprom tx paths and streams init
authorShayne Chen <shayne.chen@mediatek.com>
Fri, 30 Sep 2022 15:13:10 +0000 (23:13 +0800)
committerFelix Fietkau <nbd@nbd.name>
Thu, 1 Dec 2022 16:29:12 +0000 (17:29 +0100)
commita7ec8bcf00034ce84d4c9a15dffd7577fbed4db2
tree3f797130dfcfe02c4ad47dcf4e0bbfc0ac88a7fa
parent7624ffcd4edf2668e6db90f39c7343967a94c88f
wifi: mt76: mt7915: rework eeprom tx paths and streams init

Rework tx paths and streams init part to improve readability, and make
sure that the available tx streams should be smaller than or equal to
the available tx paths.

Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/eeprom.c
drivers/net/wireless/mediatek/mt76/mt7915/eeprom.h