mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
fix netift
This commit is contained in:
parent
b76bbb581c
commit
5930a09dfc
38 changed files with 1918 additions and 68 deletions
20
netifd/patches/004-Fix-regression-in-enabling-ht-mode.patch
Normal file
20
netifd/patches/004-Fix-regression-in-enabling-ht-mode.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
diff --git a/scripts/netifd-wireless.sh b/scripts/netifd-wireless.sh
|
||||
index e30aeec..09ac4ab 100644
|
||||
--- a/scripts/netifd-wireless.sh
|
||||
+++ b/scripts/netifd-wireless.sh
|
||||
@@ -42,6 +42,7 @@ _wdev_prepare_channel() {
|
||||
json_get_vars channel hwmode
|
||||
|
||||
auto_channel=0
|
||||
+ enable_ht=0
|
||||
htmode=
|
||||
hwmode="${hwmode##11}"
|
||||
hwmode_n="${hwmode##n}"
|
||||
@@ -58,6 +59,7 @@ _wdev_prepare_channel() {
|
||||
esac
|
||||
|
||||
[[ "$hwmode_n" = "$hwmode" ]] || {
|
||||
+ enable_ht=1
|
||||
hwmode="$hwmode_n"
|
||||
|
||||
json_get_vars htmode
|
Loading…
Add table
Add a link
Reference in a new issue