Loading
SDP cleanup fix
When BT stack is turned off, modules should be cleaned up in reverse order that they are initialized. Therefore, move SDP cleanup before L2CAP cleanup. Also, wipe content of control block, including connection control blocks when SDP is disabled. If any request or timer fires after stack shutdown, it would not find connection to act on. Flag: exempt, obvious cleanup Test: manual, turn bluetooth OFF while SDP is scheduled Bug: 329431466 Change-Id: I81e6f382466625cc2e0b72b62d91b77f40402b5a