OSDN Git Service

device: Fix not using the "bonded" property for new bondings
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>
Tue, 31 Jan 2012 17:10:52 +0000 (14:10 -0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 31 Jan 2012 17:32:50 +0000 (09:32 -0800)
commitd4891c5958e1166920d4af76d8e72b34a387a959
tree701129163ea641e65f080e15ccf9c4ea3a674838
parent16e63f9e39109a24da42aaf763cf69fdf3bfbce9
device: Fix not using the "bonded" property for new bondings

When checking if a device was already bonded, we should
use the paired property instead of reading the link key
from storage. This method will work for LE links, also.
src/device.c