diff options
| author | Raja Mani <rmani@qti.qualcomm.com> | 2013-11-07 10:39:01 +0530 |
|---|---|---|
| committer | Madan Mohan Koyyalamudi <mkoyyala@qca.qualcomm.com> | 2013-11-14 20:13:12 -0800 |
| commit | 21ce701968ea0fb2434cf28b4f58e574b82c6edd (patch) | |
| tree | 40e9eac9285cdd3339f46135868fcbaeaf8665b0 | |
| parent | d54f217190b36e4fd5c6019d6d53fdfd69d5d826 (diff) | |
cld: hdd: Fix compilation error in iw_set_pno()
RSSI threshold data type for PNO is changed to signed long in below commit,
"cld: hdd: Handle RSSI threshold value passed in start sched_scan"
Due to this, compiler generated below error,
CORE/HDD/src/wlan_hdd_wext.c:7085:15: warning: format '%hhu'
expects argument of type 'unsigned char *', but argument 3 has type
'tANI_S32 *' [-Wformat] error, forbidden warning: wlan_hdd_wext.c:7085
Change-Id: I521d38794bb8bf164275d1843d431f2bad8e05f7
CRs-fixed: 567665
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_wext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CORE/HDD/src/wlan_hdd_wext.c b/CORE/HDD/src/wlan_hdd_wext.c index 8ae96451ba84..77a2679f75e8 100644 --- a/CORE/HDD/src/wlan_hdd_wext.c +++ b/CORE/HDD/src/wlan_hdd_wext.c @@ -7102,7 +7102,7 @@ VOS_STATUS iw_set_pno(struct net_device *dev, struct iw_request_info *info, /*Advance to rssi Threshold*/ ptr += nOffset; - sscanf(ptr,"%hhu %n", + sscanf(ptr,"%ld %n", &(pnoRequest.aNetworks[i].rssiThreshold), &nOffset); VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO, |
