commit d96f542951407711a1edc77de92ca7a3dfc0ebf8
parent ec9260fa0c9256c1fd72d8db382d78052061d881
Author: Andrew Zaborowski <andrew.zaborowski@intel.com>
Date: Fri, 4 Jun 2021 03:50:41 +0200
wscutil: Fix a return statement
Fixes: 8d58f5b679b5 ('wscutil: Move DeviceType parsing from p2p & eap-wsc to a function')
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/wscutil.c b/src/wscutil.c
@@ -3073,7 +3073,7 @@ bool wsc_device_type_from_setting_str(const char *value,
* DeviceType=1-0050f204-1
*/
if (wsc_device_type_from_subcategory_str(out, value))
- true;
+ return true;
u = strtoull(value, &endp, 0);