From: Alfonso Acosta Date: Sat, 11 Oct 2014 21:44:47 +0000 (+0000) Subject: Bluetooth: Defer connection-parameter removal when unpairing X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~234^2~3^2~113 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89cbb0638e9b7ba6fab02558f47a29f144df1a19;p=pandora-kernel.git Bluetooth: Defer connection-parameter removal when unpairing Systematically removing the LE connection parameters and autoconnect action is inconvenient for rebonding without disconnecting from userland (i.e. unpairing followed by repairing without disconnecting). The parameters will be lost after unparing and userland needs to take care of book-keeping them and re-adding them. This patch allows userland to forget about parameter management when rebonding without disconnecting. It defers clearing the connection parameters when unparing without disconnecting, giving a chance of keeping the parameters if a repairing happens before the connection is closed. Signed-off-by: Alfonso Acosta Acked-by: Marcel Holtmann Signed-off-by: Johan Hedberg --- Reading git-diff-tree failed