mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-07-19 01:56:59 +08:00
bcm27xx: rpi4: enable wifi by default (#5090)
This commit is contained in:
parent
ba2038499a
commit
0426d95035
11
target/linux/bcm27xx/base-files/lib/preinit/82_set_rpi4_info
Normal file
11
target/linux/bcm27xx/base-files/lib/preinit/82_set_rpi4_info
Normal 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
|
Loading…
x
Reference in New Issue
Block a user