Skip to content
Snippets Groups Projects
  1. Jan 09, 2010
  2. Jan 08, 2010
    • Johan Hedberg's avatar
      Fix voice mailbox number reading from SIM · 4b9b6d6d
      Johan Hedberg authored
      The MBDN elementary file needs to be used instead of VMBX to fetch the
      voice mailbox.
      
      TS 151.011 contains following information:
      "10.3.43 EFMBDN (Mailbox Dialling Numbers) This EF contains dialling
      numbers to access mailboxes associated with Voicemail, Fax, Electronic
      Mail and other messages. It may also contain associated alpha-tags for
      each supported mailbox. Each dialing number shall be associated with a
      message waiting indication group type using EFMBI (see 3GPP TS 23.038
      [12] for message waiting indication group types)."
      4b9b6d6d
    • Luiz Augusto von Dentz's avatar
      Fix regression when removing watches · d43ade97
      Luiz Augusto von Dentz authored
      filter_data_find return the first data registered in this case so there is
      no guarantee that it return the same data as passed to
      filter_data_remove_callback which is the one that should be removed.
      
      The fix is to simple cache the connection removing the correct data before
      checking if there is any filter left.
      d43ade97
  3. Jan 07, 2010
  4. Jan 03, 2010
  5. Jan 02, 2010
  6. Dec 29, 2009
  7. Dec 24, 2009
  8. Dec 18, 2009
  9. Dec 17, 2009
  10. Dec 14, 2009
  11. Dec 04, 2009
  12. Nov 27, 2009
  13. Nov 20, 2009
    • Johan Hedberg's avatar
      Fix sending incorrect AVDTP commands after a timeout occurs · 45442bb2
      Johan Hedberg authored
      Since request_timeout() does callbacks into a2dp.c before sending the
      ABORT command we need to make sure that none of the callbacks can
      trigger sending any further AVDTP commands. This is easiest done by
      setting the stream->abort_int flag early in the request_timeout function
      and then checking for it in the send_request function.
      45442bb2
  14. Nov 19, 2009
  15. Nov 15, 2009
  16. Nov 14, 2009
  17. Nov 12, 2009
    • Luiz Augusto von Dentz's avatar
      Fix regression introduced by 37b02c1e · a9c4e4a0
      Luiz Augusto von Dentz authored
      device->authr cannot be reset to NULL in initiator case as it is needed
      by device_is_authenticating.
      
      So instead of reseting device->authr just reset both device->authr->cb
      and device->authr->agent to NULL, this fix the regression since the original
      problem was device->authr->agent pointing to freed memory.
      a9c4e4a0
  18. Nov 11, 2009
    • Johan Hedberg's avatar
      Fix bluetoothd crash when adapter agent exists during authentication · 37b02c1e
      Johan Hedberg authored
      During general bonding or dedicated bonding acceptor
      device->authr->agent will point to the adapter agent. However, there's
      no direct way to access device->authr if the agent exists while
      authentication is ongoing. With the current code this would lead into
      accessing free'd memory since device->authr->agent becomes an invalid
      pointer.
      
      One way to fix this would be to add reference counting to the agent
      objects, but that would be quite intrusive on the way that the code
      expects agent_free to behave at the moment and handles agent
      re-registration checks. Another option would be to iterate through all
      device objects to find if any of them have a reference to the adapter
      agent, however this would be quite a waste of CPU cycles (and pretty
      ugly imho).
      
      This patch takes neither of these two possibilities but comes with the
      realization that maintaining device->authr is completely unnecessary
      after the authentication callbacks have been called (currently
      device->authr gets reset only when the full pairing process completes).
      Since agent_free takes care of the bluetoothd internal callbacks in the
      case that the agent exited unexpectedly we simply need to clean up
      device->authr in these callbacks, which is what this patch does.
      37b02c1e
    • Johan Hedberg's avatar
      cc35f24a
  19. Nov 09, 2009
  20. Nov 03, 2009
  21. Oct 31, 2009
  22. Oct 29, 2009
Loading