aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorNiels Dossche <[email protected]>2022-04-07 20:06:52 +0200
committerMarcel Holtmann <[email protected]>2022-05-13 13:05:49 +0200
commit50a3633ae5e98cf1b80ef5b73c9e341aee9ad896 (patch)
tree486c01956e5c0ea0e061d5c1a21cec9fb07d20d8 /net/lapb/lapb_timer.c
parent8b1d66b50437b65ef109f32270bd936ca5437a83 (diff)
Bluetooth: use hdev lock in activate_scan for hci_is_adv_monitoring
hci_is_adv_monitoring's function documentation states that it must be called under the hdev lock. Paths that leads to an unlocked call are: discov_update => start_discovery => interleaved_discov => active_scan and: discov_update => start_discovery => active_scan The solution is to take the lock in active_scan during the duration of the call to hci_is_adv_monitoring. Fixes: c32d624640fd ("Bluetooth: disable filter dup when scan for adv monitor") Signed-off-by: Niels Dossche <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions