Skip to content
Commit 696b89da authored by Johan Hedberg's avatar Johan Hedberg
Browse files

Bluetooth: Fix potential race condition in bt_pub_key_gen()



It's possible for the Public Key to be available by the time that the
bt_hci_cmd_send_sync() returns, so we need to make sure the flags have
the right values no matter what.

Change-Id: I053093b6611af360f52b14ddca50d409388f9475
Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent 231050a9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment