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 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'multitech/recipes/wl12xx-scripts/wl12xx-scripts-1.0/calibrate-wifi.sh') 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 -- cgit v1.2.3