summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2014-04-09 16:56:28 -0500
committerJesse Gilles <jgilles@multitech.com>2014-04-09 16:56:28 -0500
commita8d3bcfe97af7a50f87cf2b931f4a869aa6e5b1c (patch)
tree8fe77f114baa6883d582fcb97a74fffe6d0c34bc
parentcc1fa2803953e2c95deb360fef998b66ee073721 (diff)
wl12xx-scripts: calibrate-wifi.sh: use uname to get kernel version
-rw-r--r--multitech/recipes/wl12xx-scripts/wl12xx-scripts-1.0/calibrate-wifi.sh3
-rw-r--r--multitech/recipes/wl12xx-scripts/wl12xx-scripts_1.0.bb2
2 files changed, 3 insertions, 2 deletions
diff --git a/multitech/recipes/wl12xx-scripts/wl12xx-scripts-1.0/calibrate-wifi.sh b/multitech/recipes/wl12xx-scripts/wl12xx-scripts-1.0/calibrate-wifi.sh
index 65de71f..8e79024 100644
--- a/multitech/recipes/wl12xx-scripts/wl12xx-scripts-1.0/calibrate-wifi.sh
+++ b/multitech/recipes/wl12xx-scripts/wl12xx-scripts-1.0/calibrate-wifi.sh
@@ -41,9 +41,10 @@ modprobe $MCI_MODULE
sleep 3
rmmod wl12xx_sdio
+KERNEL_VERSION=`uname -r`
echo "calibrating..."
calibrator plt autocalibrate wlan0 \
- /lib/modules/2.6.39.4/updates/drivers/net/wireless/wl12xx/wl12xx_sdio.ko \
+ /lib/modules/$KERNEL_VERSION/updates/drivers/net/wireless/wl12xx/wl12xx_sdio.ko \
/usr/share/ti/wifi-utils/ini_files/127x/TQS_S_2.6.ini \
$NVS_FILE $WIFIMAC
diff --git a/multitech/recipes/wl12xx-scripts/wl12xx-scripts_1.0.bb b/multitech/recipes/wl12xx-scripts/wl12xx-scripts_1.0.bb
index 3532dc0..fdd6859 100644
--- a/multitech/recipes/wl12xx-scripts/wl12xx-scripts_1.0.bb
+++ b/multitech/recipes/wl12xx-scripts/wl12xx-scripts_1.0.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Scripts to enable and calibrate the wifi chip on the OCG"
HOMEPAGE = "http://www.multitech.net/"
LICENSE = "GPL"
-PR = "r7"
+PR = "r8"
inherit update-rc.d