bcm27xx: rpi4: enable wifi by default (#5090)

This commit is contained in:
AmadeusGhost 2020-07-13 11:29:09 +08:00 committed by GitHub
parent ba2038499a
commit 0426d95035
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,11 @@
#!/bin/sh
set_rpi_info() {
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_rpi_info