bcm27xx: rpi4: set vht40 by default
This commit is contained in:
parent
45454823fe
commit
424d547cf1
11
target/linux/bcm27xx/base-files/lib/preinit/82_set_wifi_vht
Normal file
11
target/linux/bcm27xx/base-files/lib/preinit/82_set_wifi_vht
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user