From: Johan Hedberg Date: Fri, 12 Sep 2014 16:31:52 +0000 (-0700) Subject: Bluetooth: Fix re-setting RPA as expired when deferring update X-Git-Tag: fixes-against-v3.18-rc2~144^2~144^2~49^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a783a139c32a905825ee0aa9597f485ea461f76;p=pandora-kernel.git Bluetooth: Fix re-setting RPA as expired when deferring update The hci_update_random_address will clear the RPA_EXPIRED flag and proceed with setting a new one if the flag was set. However, the set_random_addr() function that is called may choose to defer the update to a later moment. In such a case the flag would incorrectly remain unset unless set_random_addr() re-sets it. This patch fixes the issue. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed