Bluetooth: Fix freeing up conn->tx_notify upon disconnect
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: Johan Hedberg <628991c7b0a19c384f9b99c21ec330ce952bb838@intel.com>

aceofall/zephyr-iotos,nashif/zephyr,ldts/zephyr,mbolivar/zephyr,GiulianoFranchetto/zephyr,explora26/zephyr,nashif/zephyr,finikorg/zephyr,Vudentz/zephyr,finikorg/zephyr,galak/zephyr,explora26/zephyr,explora26/zephyr,Vudentz/zephyr,nashif/zephyr,fbsder/zephyr,zephyrproject-rtos/zephyr,ldts/zephyr,punitvara/zephyr,kraj/zephyr,GiulianoFranchetto/zephyr,zephyrproject-rtos/zephyr,Vudentz/zephyr,mbolivar/zephyr,zephyrproject-rtos/zephyr,mbolivar/zephyr,ldts/zephyr,kraj/zephyr,GiulianoFranchetto/zephyr,punitvara/zephyr,finikorg/zephyr,zephyriot/zephyr,zephyriot/zephyr,punitvara/zephyr,GiulianoFranchetto/zephyr,nashif/zephyr,fbsder/zephyr,ldts/zephyr,zephyrproject-rtos/zephyr,mbolivar/zephyr,finikorg/zephyr,aceofall/zephyr-iotos,zephyriot/zephyr,zephyriot/zephyr,galak/zephyr,explora26/zephyr,galak/zephyr,punitvara/zephyr,punitvara/zephyr,kraj/zephyr,kraj/zephyr,aceofall/zephyr-iotos,finikorg/zephyr,zephyrproject-rtos/zephyr,fbsder/zephyr,galak/zephyr,explora26/zephyr,Vudentz/zephyr,ldts/zephyr,GiulianoFranchetto/zephyr,fbsder/zephyr,Vudentz/zephyr,aceofall/zephyr-iotos,kraj/zephyr,nashif/zephyr,galak/zephyr,fbsder/zephyr,aceofall/zephyr-iotos,Vudentz/zephyr,zephyriot/zephyr,mbolivar/zephyr