3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2025-01-03 10:32:33 +01:00

wscutil: Fix a return statement

Fixes: 8d58f5b679 ('wscutil: Move DeviceType parsing from p2p & eap-wsc to a function')
This commit is contained in:
Andrew Zaborowski 2021-06-04 03:50:41 +02:00 committed by Denis Kenzior
parent ec9260fa0c
commit d96f542951

View File

@ -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);