Niels Dossche
4bd80d7a40
Bluetooth: move adv_instance_cnt read within the device lock
...
The field adv_instance_cnt is always accessed within a device lock,
except in the function add_advertising. A concurrent remove of an
advertisement with adding another one could result in the if check
"if a new instance was actually added" to not trigger, resulting
in not triggering the "advertising added event".
Signed-off-by: Niels Dossche <niels.dossche@ugent.be>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2022-03-04 16:30:58 +01:00
..
2022-01-17 05:49:30 +02:00
2022-01-17 05:49:30 +02:00
2022-01-17 05:49:30 +02:00
2021-10-05 07:41:16 -07:00
2022-03-04 16:10:49 +01:00
2021-06-26 07:12:41 +02:00
2020-02-28 08:30:02 +01:00
2022-01-22 08:33:37 +02:00
2021-06-26 07:12:41 +02:00
2019-06-05 17:36:37 +02:00
2021-11-02 19:37:52 +01:00
2021-11-02 19:37:52 +01:00
2021-03-13 00:04:03 +11:00
2021-04-27 17:05:53 -07:00
2021-09-21 10:37:33 +02:00
2022-03-04 16:10:49 +01:00
2021-10-07 17:57:22 +02:00
2021-09-07 14:09:18 -07:00
2022-01-24 18:38:14 -08:00
2022-03-03 11:55:12 -08:00
2021-09-22 16:17:13 +02:00
2021-09-22 16:17:13 +02:00
2022-03-04 16:29:18 +01:00
2021-12-22 23:01:35 +01:00
2021-12-22 23:01:35 +01:00
2022-01-07 08:41:38 +01:00
2022-03-04 16:10:49 +01:00
2021-10-13 14:31:50 +02:00
2021-04-06 14:11:23 -07:00
2021-12-22 23:01:35 +01:00
2022-01-07 08:40:11 +01:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2020-05-11 12:16:27 +02:00
2021-10-29 16:51:58 +02:00
2021-06-26 07:12:42 +02:00
2020-06-18 13:11:03 +03:00
2022-02-24 21:05:21 +01:00
2021-12-07 17:05:52 +01:00
2022-03-04 16:30:58 +01:00
2022-01-23 15:30:18 +01:00
2021-12-07 17:05:51 +01:00
2021-09-21 10:44:52 +02:00
2021-03-13 00:04:03 +11:00
2014-12-30 08:53:55 +02:00
2021-06-26 07:12:43 +02:00
2021-06-26 07:12:37 +02:00