Parent: 0e66694d8de784e345f3d6d00178aa2cd3bf777d
Author: Andre Guedes <andre.guedes@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-12-07 11:15:12
Tree: 7e6ff63ff7120b354215fc2a3f53d1a00b5ffb41
adapter: Fix unplugging adapter bug If we unplug an adapter in powered on state, once it is plugged again, it doesn't go to powered on state as expected. This bug happens because Powered info is stored when the adapter is unplugged from the system. This patch fixes this bug by only storing adapter info if mode changing was requested by user application via D-Bus interface. This patch basically reverts the changes in commit 985d8ac397a7c332c1badcb95430a167ec93e9e7 where the bug was introduced.
Diffstat
| M | src/adapter.c | | | 4 | ++- - |
1 files changed, 2 insertions(+), 2 deletions(-)