bcm27xx: rpi4: set vht40 by default

This commit is contained in:
AmadeusGhost 2020-03-28 19:25:31 +08:00
parent 45454823fe
commit 424d547cf1
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
#!/bin/sh
set_wifi_vht() {
case "$(board_name)" in
raspberrypi,4-model-b)
sed -i 's/VHT80/VHT40/g' /lib/wifi/mac80211.sh
;;
esac
}
boot_hook_add preinit_main set_wifi_vht