diff options
author | 2015-01-30 10:58:55 +0200 | |
---|---|---|
committer | 2015-01-30 11:03:20 +0100 | |
commit | fad7097228496c2ce0c6bef2fec87f8b74d5f6dd (patch) | |
tree | 8d355487b7fb90c6c70a93c06dabe661cb80a036 /net/tipc | |
parent | Bluetooth: btusb: Fix race when waiting for BTUSB_DOWNLOADING (diff) | |
download | wireguard-linux-fad7097228496c2ce0c6bef2fec87f8b74d5f6dd.tar.xz wireguard-linux-fad7097228496c2ce0c6bef2fec87f8b74d5f6dd.zip |
Bluetooth: btusb: Use wait_on_bit_timeout() for BTUSB_BOOTING
The wait_on_bit_timeout() is a simpler and race-free way of waiting for
a bit to be cleared than the current code in btusb.c. This patch updates
the code to use the helper function (its btusb copy - to be later
updated to use a global one).
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions