Merge "wlan: update the exist condition of cfg.ini file."

This commit is contained in:
Linux Build Service Account 2014-02-22 23:47:02 -08:00 committed by Gerrit - the friendly Code Review server
commit f8f859623a
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ case "$target" in
ln -s /system/lib/modules/pronto/pronto_wlan.ko \ ln -s /system/lib/modules/pronto/pronto_wlan.ko \
/system/lib/modules/wlan.ko /system/lib/modules/wlan.ko
# Populate the writable driver configuration file # Populate the writable driver configuration file
if [ ! -e /data/misc/wifi/WCNSS_qcom_cfg.ini ]; then if [ ! -s /data/misc/wifi/WCNSS_qcom_cfg.ini ]; then
cp /system/etc/wifi/WCNSS_qcom_cfg.ini \ cp /system/etc/wifi/WCNSS_qcom_cfg.ini \
/data/misc/wifi/WCNSS_qcom_cfg.ini /data/misc/wifi/WCNSS_qcom_cfg.ini
chown -h system:wifi /data/misc/wifi/WCNSS_qcom_cfg.ini chown -h system:wifi /data/misc/wifi/WCNSS_qcom_cfg.ini