diff options
| author | Prakash Dhavali <pdhavali@qca.qualcomm.com> | 2013-12-06 03:40:26 -0800 |
|---|---|---|
| committer | Prakash Dhavali <pdhavali@qca.qualcomm.com> | 2013-12-06 03:40:26 -0800 |
| commit | e7ca16a9beb0ec4c21fe4ea5fbff3bebb0dffefb (patch) | |
| tree | 84de8ab908655adb1c74713bbe38890be063ce2e | |
| parent | 4f212add2e8484058a653d208563412e262d552a (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 faa5bb40ed56..563d6d963c38 100644 --- a/CORE/HDD/src/wlan_hdd_wext.c +++ b/CORE/HDD/src/wlan_hdd_wext.c @@ -7132,7 +7132,7 @@ VOS_STATUS iw_set_pno(struct net_device *dev, struct iw_request_info *info, /*Advance to rssi Threshold*/ ptr += nOffset; - sscanf(ptr,"%ld %n", + sscanf(ptr,"%hhu %n", &(pnoRequest.aNetworks[i].rssiThreshold), &nOffset); VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO, |
