James Prestwood
8f5109c439
dpp: fix extra settings not being used when connecting
...
Before this change DPP was writing the credentials both to disk
and into the network object directly. This allowed the connection
to work fine but additional settings were not picked up due to
network_set_passphrase/psk loading the settings before they were
written.
Instead DPP can avoid setting the credentials to the network
object entirely and just write them to disk. Then, wait for
known networks to notify that the profile was either created
or updated then DPP can proceed to connecting. network_autoconnect()
will take care of loading the profile that DPP wrote and remove the
need for DPP to touch the network object at all.
One thing to note is that an idle callback is still needed from
within the known networks callback. This is because a new profile
requires network.c to set the network_info which is done in the
known networks callback. Rather than assume that network.c will be
called into before dpp.c an l_idle was added.
2023-12-19 12:41:50 -06:00
..
2019-10-25 01:08:56 +02:00
2023-11-27 11:26:52 +01:00
2022-09-13 08:57:55 -05:00
2019-10-25 00:43:08 +02:00
2022-09-16 11:02:07 -05:00
2020-07-09 09:58:21 -05:00
2022-01-14 12:08:01 -06:00
2019-07-15 14:53:44 -05:00
2023-11-14 09:49:39 -06:00
2021-06-04 11:55:06 -05:00
2021-09-28 10:51:33 -05:00
2022-01-11 11:07:05 -06:00
2022-01-11 11:07:05 -06:00
2023-10-06 23:21:48 -05:00
2023-01-03 09:16:32 -06:00
2019-11-07 23:40:13 +01:00
2019-05-22 09:58:04 -05:00
2023-04-16 13:01:01 -05:00
2019-10-25 00:43:08 +02:00
2023-10-17 10:13:42 -05:00
2023-10-17 10:13:42 -05:00
2021-04-20 09:37:48 -05:00
2023-11-02 20:31:05 -05:00
2022-08-04 10:30:46 -05:00
2021-04-28 11:19:38 -05:00
2021-03-29 13:17:36 -05:00
2023-12-18 22:14:45 -06:00
2023-11-17 09:48:22 -06:00
2023-12-19 12:41:50 -06:00
2021-07-30 10:38:26 -05:00
2022-01-11 11:07:33 -06:00
2021-06-01 10:44:57 -05:00
2023-04-13 22:20:57 -05:00
2020-03-17 15:35:22 -05:00
2023-01-03 09:58:29 -06:00
2021-11-11 14:27:33 -06:00
2023-10-11 10:19:34 -05:00
2020-08-13 10:36:43 -05:00
2023-01-30 10:19:58 -06:00
2023-01-03 09:58:29 -06:00
2023-01-03 09:58:29 -06:00
2023-01-03 09:58:29 -06:00
2022-01-11 11:07:05 -06:00
2020-08-17 09:40:25 -05:00
2023-10-06 23:24:25 -05:00
2022-11-17 10:04:56 -06:00
2023-12-13 10:08:06 -06:00
2023-01-11 15:48:17 -06:00
2022-10-24 11:05:24 -05:00
2022-10-24 11:05:24 -05:00
2023-12-18 22:14:45 -06:00
2023-11-27 11:27:26 +01:00
2023-12-13 10:08:06 -06:00
2021-09-28 16:46:48 -05:00
2022-09-16 11:02:07 -05:00
2022-09-16 11:04:31 -05:00
2023-12-13 10:12:41 -06:00
2023-12-13 10:12:41 -06:00
2017-11-28 13:20:33 -06:00
2023-12-13 10:08:53 -06:00
2023-12-13 10:08:53 -06:00
2022-02-15 17:22:21 -06:00
2023-11-27 11:27:26 +01:00
2023-11-27 11:27:26 +01:00
2023-11-09 09:27:00 -06:00
2021-06-01 10:03:04 -05:00
2023-11-17 14:13:31 -06:00
2023-02-27 10:26:17 -06:00
2023-11-07 21:11:50 -06:00
2022-05-19 09:47:36 -05:00
2021-05-07 08:45:20 -05:00
2023-12-15 10:21:01 -06:00
2019-11-05 22:14:09 +01:00
2022-11-18 10:50:31 +01:00
2022-11-02 11:25:35 +01:00
2023-11-17 09:49:12 -06:00
2023-12-19 12:41:36 -06:00
2023-12-19 12:41:36 -06:00
2023-11-09 09:27:00 -06:00
2023-01-17 13:11:53 -06:00
2021-09-20 10:32:51 -05:00
2019-11-24 19:44:06 +01:00
2021-11-11 14:27:33 -06:00
2022-01-11 11:07:05 -06:00
2023-12-06 10:58:38 -06:00
2019-10-25 00:43:08 +02:00
2019-10-25 00:43:08 +02:00
2018-08-09 10:45:16 -05:00
2022-10-26 14:16:22 -05:00
2022-12-27 10:46:30 -06:00
2022-10-26 14:16:22 -05:00
2023-12-13 10:10:46 -06:00
2023-12-13 10:12:53 -06:00
2023-12-19 12:41:36 -06:00
2022-08-11 09:10:40 -05:00
2021-10-19 13:28:07 -05:00
2019-07-15 14:06:26 -05:00
2023-11-27 11:27:26 +01:00
2023-11-27 11:27:26 +01:00
2023-10-26 09:30:03 -05:00
2022-09-21 21:17:04 -05:00
2020-09-16 14:31:07 -05:00
2022-08-08 13:37:08 -05:00
2021-09-03 14:34:30 -05:00
2023-11-30 17:10:01 -06:00
2020-04-10 06:31:19 -05:00
2021-06-04 11:53:31 -05:00
2022-01-11 11:07:05 -06:00
2019-01-23 18:22:11 +01:00
2022-05-20 10:03:42 -05:00
2021-02-11 15:06:01 -06:00
2019-11-07 23:40:13 +01:00
2019-10-25 00:43:08 +02:00
2023-04-13 22:20:57 -05:00
2023-12-06 10:58:44 -06:00
2021-08-25 13:05:05 -05:00
2023-12-06 10:44:45 -06:00
2023-12-06 10:44:45 -06:00
2020-11-16 17:04:30 -06:00
2022-01-11 11:07:05 -06:00
2020-08-13 10:36:43 -05:00
2019-10-25 00:43:08 +02:00
2023-12-13 10:12:53 -06:00
2023-11-02 20:40:07 -05:00
2022-11-17 10:04:12 -06:00
2022-11-17 10:04:12 -06:00
2021-11-03 17:44:00 -05:00
2021-11-03 17:44:00 -05:00
2022-12-14 15:37:01 -06:00
2022-12-14 15:37:01 -06:00
2021-03-09 15:28:36 -06:00
2020-05-01 11:38:57 -05:00
2023-11-27 11:27:26 +01:00
2023-11-27 11:27:26 +01:00
2023-11-30 17:10:01 -06:00
2020-01-17 12:50:23 -06:00
2022-01-14 09:49:47 -06:00
2021-04-26 10:48:03 -05:00