summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorAlok Barsode <alok.barsode@linux.intel.com>2012-01-25 14:16:41 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2012-02-01 00:19:28 +0100
commitfc29a97acd4bcbd37ff9001e7651e54a246417ad (patch)
tree66ec83cec68e890ad4a903b38d2a3b167b36e4bb /bootstrap
parentaeeb2e24ab65a9b0b174231ca602b517564bdef0 (diff)
downloadconnman-fc29a97acd4bcbd37ff9001e7651e54a246417ad.tar.gz
connman-fc29a97acd4bcbd37ff9001e7651e54a246417ad.tar.bz2
connman-fc29a97acd4bcbd37ff9001e7651e54a246417ad.zip
technology: Fix technology refcounting
technology_add_device and technology_add_rfkill should increment technology refcount. The refcount denotes the total number of devices and rfkill switches in the technology. Similarly technology_remove_device and technology_remove_rfkill should decrement technology refcount. Once the refcount is 0, which means that there are no devices and rfkill switches in this technology, technology should be freed.
Diffstat (limited to 'bootstrap')
0 files changed, 0 insertions, 0 deletions