Advertisement
Guest User

Untitled

a guest
Aug 28th, 2021
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. @@ -1239,8 +1244,10 @@ int main(int argc, char **argv)
  2. {
  3. /* if unblock is for power interface: download patch and eventually register hci device */
  4. INFO("BT power driver unblocked");
  5. - free_hci();
  6. - attach_hci();
  7. + if (!hci_dev_registered) {
  8. + free_hci();
  9. + attach_hci();
  10. + }
  11. /* force to unblock also the bluetooth hci rfkill interface if hci device was registered */
  12. if (hci_dev_registered)
  13. rfkill_bluetooth_unblock();
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement