Skip to content
Commit ee217d40 authored by Johan Hedberg's avatar Johan Hedberg Committed by Andrew Boie
Browse files

Bluetooth: Fix freeing up conn->tx_notify upon disconnect



It's possible that tx_notify still contains items when a Disconnect
Complete happens. Since the normal path for processing tx_notify is
not taken when the connection is not in CONNECTED state, we must make
sure to process the list latest in conn_cleanup() that's called as one
last thing before the connection object is freed up.

Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent 059959c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment