diff options
author | Alok Barsode <alok.barsode@linux.intel.com> | 2012-01-25 14:16:41 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-02-01 00:19:28 +0100 |
commit | fc29a97acd4bcbd37ff9001e7651e54a246417ad (patch) | |
tree | 66ec83cec68e890ad4a903b38d2a3b167b36e4bb /bootstrap | |
parent | aeeb2e24ab65a9b0b174231ca602b517564bdef0 (diff) | |
download | connman-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