]> git.baikalelectronics.ru Git - kernel.git/commit
mt76: do not overwrite max_tx_fragments if it has been set
authorShayne Chen <shayne.chen@mediatek.com>
Sat, 14 Dec 2019 11:22:04 +0000 (19:22 +0800)
committerFelix Fietkau <nbd@nbd.name>
Fri, 14 Feb 2020 09:03:10 +0000 (10:03 +0100)
commit90f98e9403d29612ca9690fa16ec1aa75cd78c44
tree50f92b73441c149c2ef94a6962bb83f665cce839
parent2782b53e0e34cb64e6b0b0d4221d92ce39cd6899
mt76: do not overwrite max_tx_fragments if it has been set

Prevent the overwriting of max_tx_fragments if it has already been set
in chip-specific init routine.

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