Add the condition of socket get data 59/27159/1
authorwu zheng <wu.zheng@intel.com>
Fri, 5 Sep 2014 09:43:25 +0000 (17:43 +0800)
committerwu zheng <wu.zheng@intel.com>
Fri, 5 Sep 2014 09:43:25 +0000 (17:43 +0800)
commit6066758e2cc337b7ecde025396282ccef14c2f4a
tree974e4eeefabb2574f4e914aa4e34bc03fefd68d4
parentc558e659792750eaee5ee995969130362ac13821
Add the condition of socket get data

socket get data need the G_IO_IN condition.

BTW, remove some unuseful code.

Change-Id: I6bdabc21e86b22ae0799e86695c02332bc3b3180
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
capi/bluetooth.c
test/bluez-capi-test.c