Don't call property_get with too small buffer.

Fix build.

Change-Id: Ic51c1d67e709559b61b6a45012ab02e5fb128a96
This commit is contained in:
Nick Kralevich 2013-05-24 15:34:29 -07:00
parent 38adb6bfe5
commit ddf29bbadc
1 changed files with 1 additions and 1 deletions

View File

@ -549,7 +549,7 @@ int wfc_util_qcom_check_config(unsigned char *nv_mac_addr)
#ifdef WFC_UTIL_FEAUTRE_COPY_NV_BIN
char nv_bin_tempfile_name[50];
char baseband[5];
char baseband[PROPERTY_VALUE_MAX];
// Default use WCNSS_qcom_wlan_nv_flo.bin
property_get("ro.boot.baseband", baseband, "apq");