OSDN Git Service

Suspend properly when receiving events without response
authorJaganath Kanakkassery <jaganathx.kanakkassery@intel.com>
Wed, 6 Jan 2016 07:27:51 +0000 (15:27 +0800)
committerAndre Eisenbach <eisenbach@google.com>
Wed, 17 Feb 2016 19:07:53 +0000 (11:07 -0800)
commitd722e2ff1e9b54aee0c373ac8a6fadadfd0a84d9
treee539aa4e6d1e185ef75438d51a2084a2334704f3
parent5f30560dbb80f0231fb9f351ab5b0180513dffe7
Suspend properly when receiving events without response

In the BTU handler for messages from the controller, rn event may be
received that the stack does not have to respond to. In this case, the
stack should go to sleep.

This patch calls the provided function in the BTU to enter sleep.

Signed-off-by: Jaganath Kanakkassery <jaganathx.kanakkassery@intel.com>
Signed-off-by: Yingkai Cheng <yingkaix.cheng@intel.com>
Signed-off-by: Zhiquan Liu <zhiquan.liu@intel.com>
Change-Id: Ie7c3fcae418eb2480338509e86b7cc870177a965
stack/btu/btu_task.c