Fix bluetoothd core dumped if disable bt tethering. 75/29975/1 accepted/tizen/common/20141107.142341 accepted/tizen/ivi/20141112.024246 submit/tizen/20141107.030536 submit/tizen_mobile/20141120.000000
authorwu zheng <wu.zheng@intel.com>
Thu, 6 Nov 2014 09:54:26 +0000 (17:54 +0800)
committerwu zheng <wu.zheng@intel.com>
Thu, 6 Nov 2014 09:54:26 +0000 (17:54 +0800)
commit6904a21657375bedcd87d01df24ef3087d23cac8
tree2668f84991572d2326f3c9b129a802c44f5aef59
parentabb9a439baaaa9cd6f91ba5af8c6e426cdc8ff8e
Fix bluetoothd core dumped if disable bt tethering.

If the remote device connected with the current device
and the connection is tethering,
disable bt tethering in the current device,
it results in bluetoothd core dumped.

The related values aren't protected, it results in it.
The patch fixed the issue of TC-1988.

Change-Id: I7ae5d80712c4d9626602e011f9f66ccb992629b4
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
profiles/network/server.c