Bluetooth: Wait for HCI_OP_WRITE_AUTH_PAYLOAD_TO to complete
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 7 Dec 2022 19:56:57 +0000 (11:56 -0800)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 12 Dec 2022 22:19:26 +0000 (14:19 -0800)
commit7aca0ac4792e6cb0f35ef97bfcb39b1663a92fb7
tree64fc5b420c5553e9f0527f355e4aed3a209384fe
parent241f51931c35085449502c10f64fb3ecd6e02171
Bluetooth: Wait for HCI_OP_WRITE_AUTH_PAYLOAD_TO to complete

This make sure HCI_OP_WRITE_AUTH_PAYLOAD_TO completes before notifying
the encryption change just as is done with HCI_OP_READ_ENC_KEY_SIZE.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/hci_event.c