mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-30 06:02:39 +01:00
wscutil: Don't include request_to_enroll if false
This commit is contained in:
parent
1c5988b0b8
commit
e9d1ca7f7b
@ -1242,6 +1242,10 @@ uint8_t *wsc_build_probe_request(const struct wsc_probe_request *probe_request,
|
||||
wsc_attr_builder_put_u8(builder, WSC_WFA_EXTENSION_VERSION2);
|
||||
wsc_attr_builder_put_u8(builder, 1);
|
||||
wsc_attr_builder_put_u8(builder, 0x20);
|
||||
|
||||
if (!probe_request->request_to_enroll)
|
||||
goto done;
|
||||
|
||||
wsc_attr_builder_put_u8(builder, WSC_WFA_EXTENSION_REQUEST_TO_ENROLL);
|
||||
wsc_attr_builder_put_u8(builder, 1);
|
||||
wsc_attr_builder_put_u8(builder, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user