diff --git a/net/bluetooth/iso.c b/net/bluetooth/iso.c index a7e0008f0ad8d7..8575ba749a2c58 100644 --- a/net/bluetooth/iso.c +++ b/net/bluetooth/iso.c @@ -1158,10 +1158,9 @@ static int iso_listen_bis(struct sock *sk) goto unlock; } - hci_dev_put(hdev); - unlock: hci_dev_unlock(hdev); + hci_dev_put(hdev); return err; }