James Prestwood
3f2c84c2a2
netdev: fix segfault due to roaming before connected
...
In this situation the kernel is sending a low RSSI event which netdev
picks up, but since we set netdev->connected so early the event is
forwarded to station before IWD has fully connected. Station then
tries to get a neighbor report, which may fail and cause a known
frequency scan. If this is a new network the frequency scan tries to
get any known frequencies in network_info which will be unset and
cause a segfault.
This can be avoided by only sending RSSI events when netdev->operational
is set rather than netdev->connected.
2020-05-01 20:42:58 -05:00
..
2019-10-25 01:08:56 +02:00
2020-04-08 12:35:04 -05:00
2019-11-07 23:40:13 +01:00
2019-10-25 00:43:08 +02:00
2019-11-20 20:24:43 -06:00
2019-10-11 15:37:33 -05:00
2020-01-21 16:03:28 -06:00
2019-07-15 14:53:44 -05:00
2020-02-17 12:27:54 -06:00
2019-05-03 13:53:50 -05:00
2019-10-25 00:43:08 +02:00
2019-10-25 00:43:08 +02:00
2019-11-07 23:40:13 +01:00
2019-05-22 09:58:04 -05:00
2019-10-25 00:43:08 +02:00
2019-10-25 00:43:08 +02:00
2020-04-08 21:02:15 -05:00
2019-12-09 01:47:11 -06:00
2019-10-25 00:43:08 +02:00
2020-04-10 06:31:19 -05:00
2020-04-17 12:22:47 -05:00
2019-10-25 00:43:08 +02:00
2020-03-06 13:08:05 -06:00
2019-10-25 00:43:08 +02:00
2020-01-21 16:03:28 -06:00
2020-03-17 15:35:22 -05:00
2020-02-06 15:18:04 -06:00
2019-10-25 00:43:08 +02:00
2020-03-17 15:35:22 -05:00
2020-01-21 16:03:28 -06:00
2020-03-20 10:23:30 -05:00
2019-10-25 00:43:08 +02:00
2019-10-25 00:43:08 +02:00
2019-10-25 00:43:08 +02:00
2020-04-06 16:21:35 -05:00
2019-10-25 00:43:08 +02:00
2020-03-06 12:17:09 -06:00
2019-10-25 00:43:08 +02:00
2020-04-08 21:02:15 -05:00
2019-10-30 14:34:20 -05:00
2019-10-25 00:43:08 +02:00
2019-10-25 00:43:08 +02:00
2020-04-08 21:02:15 -05:00
2019-05-19 13:07:13 -05:00
2020-04-08 21:02:15 -05:00
2019-05-03 14:37:11 -05:00
2020-04-22 10:38:51 -05:00
2020-03-20 10:15:50 -05:00
2019-10-25 00:43:08 +02:00
2019-10-25 00:43:08 +02:00
2017-11-28 13:20:33 -06:00
2020-04-02 00:41:02 -05:00
2020-04-02 00:41:02 -05:00
2020-01-27 14:28:08 -06:00
2020-04-08 21:02:15 -05:00
2020-03-20 10:21:04 -05:00
2018-09-14 15:24:15 +02:00
2020-03-18 13:10:41 -05:00
2019-11-05 22:14:09 +01:00
2020-04-08 12:27:57 -05:00
2020-03-18 18:15:16 -05:00
2019-11-05 22:14:09 +01:00
2019-09-09 06:55:22 +02:00
2020-01-27 14:28:08 -06:00
2020-01-27 14:28:08 -06:00
2020-04-08 21:47:46 -05:00
2020-05-01 19:54:37 -05:00
2020-02-03 11:54:28 -06:00
2019-11-24 19:44:06 +01:00
2020-04-08 21:03:13 -05:00
2019-10-25 00:43:08 +02:00
2019-10-25 00:43:08 +02: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
2020-05-01 11:30:42 -05:00
2019-10-09 17:51:57 -05:00
2020-05-01 20:42:58 -05:00
2020-01-21 16:03:28 -06:00
2020-03-06 13:08:25 -06:00
2019-10-25 00:43:08 +02:00
2019-08-15 15:06:59 -05:00
2019-07-15 14:06:26 -05:00
2020-04-24 11:38:44 -05:00
2019-10-25 00:43:08 +02:00
2019-10-25 00:43:08 +02:00
2019-10-25 00:43:08 +02:00
2020-05-01 11:38:43 -05:00
2020-04-10 06:31:19 -05:00
2020-03-20 10:18:56 -05:00
2020-03-20 10:18:56 -05:00
2019-01-23 18:22:11 +01:00
2019-10-25 00:43:08 +02:00
2019-10-25 00:43:08 +02:00
2019-12-17 16:58:04 -06:00
2019-12-11 00:57:35 -06:00
2019-11-07 23:40:13 +01:00
2019-10-25 00:43:08 +02:00
2020-01-16 11:37:57 -06:00
2020-04-08 21:02:15 -05:00
2020-03-17 15:35:22 -05:00
2020-05-01 19:54:46 -05:00
2019-11-21 20:51:21 -06:00
2019-11-07 23:40:13 +01:00
2019-10-25 00:43:08 +02:00
2019-10-25 00:43:08 +02:00
2019-10-25 00:43:08 +02:00
2020-05-01 11:30:42 -05:00
2019-11-04 14:43:38 -06:00
2020-04-08 16:18:04 -05:00
2020-01-22 11:15:19 -06:00
2020-03-18 18:15:16 -05:00
2020-03-18 18:15:16 -05:00
2020-03-18 13:49:22 -05:00
2020-05-01 11:38:57 -05:00
2020-05-01 19:55:18 -05:00
2020-04-24 11:39:00 -05:00
2020-04-08 21:02:15 -05:00
2020-01-17 12:50:23 -06:00
2020-04-23 14:50:33 -05:00
2020-04-23 14:41:17 -05:00