OSDN Git Service

Bluetooth: On Suspend ignore media task timer event
authorHemant Gupta <hemantg@codeaurora.org>
Thu, 5 Sep 2013 14:12:50 +0000 (19:42 +0530)
committerHemant Gupta <hemantg@codeaurora.org>
Wed, 7 May 2014 17:12:16 +0000 (22:42 +0530)
commit7e4c60ce7757d935901f53d1f21ecc696aa89979
tree78eac4e50464b402d0e861af9e192fb24a5b1b3e
parent0ab408fe6f6cb698ba1fcd8492d117c0d3574c7d
Bluetooth: On Suspend ignore media task timer event

On Recieving Suspend confirmation from remote device,
Media task timer reload and tx_timer is made false,
hence media task will not be stopped at that instant.
Media task timer expires causing buffer to be allocated.
Changes done to ensure buffer is allocated only if tx_timer
is true.

Change-Id: I971a82cccc64ba033475ad532b096862968de942
btif/src/btif_media_task.c