Skip to content

Commit

Permalink
bcm27xx: rpi4: enable wifi by default (#5090)
Browse files Browse the repository at this point in the history
  • Loading branch information
aiamadeus committed Jul 13, 2020
1 parent ba20384 commit 0426d95
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions target/linux/bcm27xx/base-files/lib/preinit/82_set_rpi4_info
@@ -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

0 comments on commit 0426d95

Please sign in to comment.