From a8d3bcfe97af7a50f87cf2b931f4a869aa6e5b1c Mon Sep 17 00:00:00 2001 From: Jesse Gilles Date: Wed, 9 Apr 2014 16:56:28 -0500 Subject: wl12xx-scripts: calibrate-wifi.sh: use uname to get kernel version --- multitech/recipes/wl12xx-scripts/wl12xx-scripts-1.0/calibrate-wifi.sh | 3 ++- multitech/recipes/wl12xx-scripts/wl12xx-scripts_1.0.bb | 2 +- 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 -- cgit v1.2.3