Merge "wcnss: Force calibration during factory testing"

This commit is contained in:
Linux Build Service Account 2013-08-21 12:21:45 -07:00 committed by Gerrit - the friendly Code Review server
commit 62fb5a5a95
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ trigger_wcnss()
# caldata is available at userspace.
if [ -e /data/misc/wifi/WCNSS_qcom_wlan_cal.bin ]; then
calparm=`ls /sys/module/wcnsscore/parameters/has_calibrated_data`
if [ -e $calparm ]; then
if [ -e $calparm ] && [ ! -e /data/misc/wifi/WCN_FACTORY ]; then
echo 1 > $calparm
fi
fi