mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-18 17:33:31 +00:00
bcm27xx: rpi4: update wifi script (#6440)
This commit is contained in:
parent
cc06227463
commit
87d9ed8cb7
@ -0,0 +1,9 @@
|
||||
. /lib/functions.sh
|
||||
|
||||
case "$(board_name)" in
|
||||
raspberrypi,4-model-b)
|
||||
sed -i 's/VHT80/VHT40/g' /lib/wifi/mac80211.sh
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
@ -1,11 +0,0 @@
|
||||
#!/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…
Reference in New Issue
Block a user