Guest User

Untitled

a guest
Dec 17th, 2015
327
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Some time ago had to create a workaround in connman so that BT rfkill initialization during bootup works predictably (other alternatives were tried, but were found to be more difficult to implement reliably).
  2.  
  3. Due to weirdness in connman code the presence of a dummy BT rfkill driver that doesn't have tethering functionality prevents tethering by the "real" driver; not difficult to change the code in the problematic place but should understand why it was written as it is in the first place.
  4.  
  5. Problem is that while technology.c:set_tethering() should iterate over drivers once it finds one that can attempt tethering, technology->tech_drivers isn't updated when drivers are added if the technology struct has already been created.
  6.  
  7. See set_tethering() at https://github.com/mer-packages/connman/blob/master/connman/src/technology.c#L234, technology_get() at https://github.com/mer-packages/connman/blob/master/connman/src/technology.c#L1168 and technology_driver_register() at https://github.com/mer-packages/connman/blob/master/connman/src/technology.c#L1249
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×