Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @@ -1239,8 +1244,10 @@ int main(int argc, char **argv)
- {
- /* if unblock is for power interface: download patch and eventually register hci device */
- INFO("BT power driver unblocked");
- - free_hci();
- - attach_hci();
- + if (!hci_dev_registered) {
- + free_hci();
- + attach_hci();
- + }
- /* force to unblock also the bluetooth hci rfkill interface if hci device was registered */
- if (hci_dev_registered)
- rfkill_bluetooth_unblock();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement