3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2025-03-31 15:16:48 +02:00
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-11 15:37:33 -05:00
2020-01-21 16:03:28 -06:00
2020-02-17 12:27:54 -06:00
2020-04-08 21:02:15 -05:00
2019-12-09 01:47:11 -06:00
2020-04-10 06:31:19 -05:00
2020-04-17 12:22:47 -05:00
2020-01-21 16:03:28 -06:00
2020-03-17 15:35:22 -05:00
2020-01-21 16:03:28 -06:00
2020-03-06 12:17:09 -06:00
2020-04-08 21:02:15 -05: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
2020-03-20 10:15:50 -05:00
2017-11-28 13:20:33 -06:00
2020-04-08 21:02:15 -05:00
2020-03-20 10:21:04 -05:00
2020-04-08 12:27:57 -05:00
2020-04-08 21:47:46 -05:00
2020-02-03 11:54:28 -06:00
2020-01-21 16:03:28 -06:00
2019-07-15 14:06:26 -05:00
2020-05-01 11:38:43 -05:00
2020-04-10 06:31:19 -05: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
2020-03-18 18:15:16 -05:00
2020-03-18 18:15:16 -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