summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaja Mani <rmani@qti.qualcomm.com>2013-11-07 10:39:01 +0530
committerPrakash Dhavali <pdhavali@qca.qualcomm.com>2013-12-08 02:47:06 -0800
commit35613acfb0485d0ecd6fa98fb29fe192bf1b4f80 (patch)
tree1382df84e6e29056d601438648be96c56076b061
parentd7e7b9bfb701c640c7ea6886831217eb3c957d43 (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.c2
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 563d6d963c38..faa5bb40ed56 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,"%hhu %n",
+ sscanf(ptr,"%ld %n",
&(pnoRequest.aNetworks[i].rssiThreshold), &nOffset);
VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO,