summaryrefslogtreecommitdiff
path: root/recipes-kernel/rs9113/files/rf/wfr
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/rs9113/files/rf/wfr')
-rwxr-xr-xrecipes-kernel/rs9113/files/rf/wfr4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-kernel/rs9113/files/rf/wfr b/recipes-kernel/rs9113/files/rf/wfr
index ace244d..9fe21bb 100755
--- a/recipes-kernel/rs9113/files/rf/wfr
+++ b/recipes-kernel/rs9113/files/rf/wfr
@@ -3,8 +3,8 @@ echo 'WiFi recieve'
echo 'Parameter 1 is channel'
echo 'Paramter 2 is width'
echo '0 is 20MHz, 6 is 40MHz'
-sed -i 's/DRIVER_MODE=1/DRIVER_MODE=2/' /opt/rs9113/common_insert.sh
-sed -i 's/COEX_MODE=[0-9]*/COEX_MODE=1/' /opt/rs9113/common_insert.sh
+export DRIVER_MODE=2
+export COEX_MODE=1
/etc/init.d/rs9113 stop >/dev/null 2>&1
cd /opt/rs9113
bash wlan_bt_insert.sh