summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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