summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mediatek/mt76/mt7915/mac.c
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2023-03-29 14:57:58 -0500
committerFelix Fietkau <nbd@nbd.name>2023-04-17 16:08:49 +0200
commit09d4d6da1b65d09414e7bce61459593f3c80ead1 (patch)
treee06a39d23371f76db39b647d642ac94f36e6ad5a /drivers/net/wireless/mediatek/mt76/mt7915/mac.c
parenta5af1481a85679a9812f728ee5cf64ee7edbe669 (diff)
downloadlinux-09d4d6da1b65d09414e7bce61459593f3c80ead1.tar.gz
linux-09d4d6da1b65d09414e7bce61459593f3c80ead1.tar.bz2
linux-09d4d6da1b65d09414e7bce61459593f3c80ead1.zip
wifi: mt76: mt7921e: Set memory space enable in PCI_COMMAND if unset
When the BIOS has been configured for Fast Boot, systems with mt7921e have non-functional wifi. Turning on Fast boot caused both bus master enable and memory space enable bits in PCI_COMMAND not to get configured. The mt7921 driver already sets bus master enable, but explicitly check and set memory access enable as well to fix this problem. Tested-by: Anson Tsao <anson.tsao@amd.com> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Acked-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt7915/mac.c')
0 files changed, 0 insertions, 0 deletions