projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a954d3
)
wireless: fix htmode handling
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 2 Dec 2013 09:52:53 +0000
(10:52 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 2 Dec 2013 09:52:53 +0000
(10:52 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
scripts/netifd-wireless.sh
patch
|
blob
|
history
diff --git
a/scripts/netifd-wireless.sh
b/scripts/netifd-wireless.sh
index 7ae36955ddd683c9629f28823b749a3b7e3059a7..3cb55a390b6656217bdd6ad50038ab195b79478f 100644
(file)
--- a/
scripts/netifd-wireless.sh
+++ b/
scripts/netifd-wireless.sh
@@
-58,7
+58,7
@@
_wdev_prepare_channel() {
;;
esac
- [[ "$hwmode_n" = "$hwmode" ]]
&&
{
+ [[ "$hwmode_n" = "$hwmode" ]]
||
{
enable_ht=1
hwmode="$hwmode_n"
@@
-283,7
+283,7
@@
for_each_interface() {
}
_wdev_common_device_config() {
- config_add_string channel hwmode
+ config_add_string channel hwmode
htmode
}
_wdev_common_iface_config() {