Parent: d452870662b126eba06e3bdae9fe03e41867c296
Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-12-19 09:22:32
Tree: d46c2b49d41b48110eab0bf7fced813cf359ee0a
core: Fix trying to store NULL adapter->name When BlueZ starts without a main.conf, adapter->name will be initially NULL, until adapter_name_changed() is called and name is set to "BlueZ". Before this, store_adapter_info() will try to access a NULL pointer. Fixes this GLib error: (bluetoothd:1721): GLib-CRITICAL **: g_key_file_set_string: assertion `string != NULL' failed
Diffstat
| M | src/adapter.c | | | 4 | +++- |
1 files changed, 3 insertions(+), 1 deletions(-)