Merge "wlan: update the exist condition of cfg.ini file."
This commit is contained in:
commit
f8f859623a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue