- Jan 09, 2010
-
-
Marcel Holtmann authored
-
- Jan 08, 2010
-
-
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)."
-
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.
-
- Jan 07, 2010
-
-
Marcel Holtmann authored
-
Marcel Holtmann authored
-
-
- Jan 03, 2010
-
-
Marcel Holtmann authored
-
- Jan 02, 2010
-
-
Marcel Holtmann authored
-
Marcel Holtmann authored
-
- Dec 29, 2009
-
-
Luiz Augusto von Dentz authored
-
Luiz Augusto von Dentz authored
-
Luiz Augusto von Dentz authored
-
Luiz Augusto von Dentz authored
With g_dbus_add_signal_watch there is no need to register multiple filters for dbus nor add matching rules manually.
-
- Dec 24, 2009
-
-
Marcel Holtmann authored
-
Marcel Holtmann authored
-
Marcel Holtmann authored
-
Marcel Holtmann authored
-
Marcel Holtmann authored
-
- Dec 18, 2009
-
-
Marcel Holtmann authored
-
Marcel Holtmann authored
-
Marcel Holtmann authored
-
Marcel Holtmann authored
-
- Dec 17, 2009
-
-
Daniel Orstadius authored
To avoid spurious HCI Disconnect commands the disconnect timer should be removed if the device disconnects earlier than expected.
-
Daniel Orstadius authored
Timeouts should also be removed in the remove_timeout callback in addition to the timeout_handler_free function. This is how dbus-glib does it and it seems to prevent crashes in certain situations.
-
- Dec 14, 2009
-
-
- Dec 04, 2009
-
-
Marcel Holtmann authored
-
- Nov 27, 2009
-
-
Claudio Takahasi authored
When a new BtIO is being created, if bind or setsockopts fails the socket remains open.
-
- Nov 20, 2009
-
-
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.
-
- Nov 19, 2009
-
-
Johan Hedberg authored
-
- Nov 15, 2009
-
-
Marcel Holtmann authored
-
- Nov 14, 2009
-
-
Marcel Holtmann authored
-
- Nov 12, 2009
-
-
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.
-
- Nov 11, 2009
-
-
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.
-
Johan Hedberg authored
-
- Nov 09, 2009
-
-
Marcel Holtmann authored
This is needed until everything has a proper btd_ symbol prefix.
-
- Nov 03, 2009
-
-
Daniel Orstadius authored
It seems the play and pause key presses also lack the release event sometimes so also add the necessary quirk to them.
-
- Oct 31, 2009
-
-
Marcel Holtmann authored
-
Marcel Holtmann authored
-
- Oct 29, 2009
-
-
Johan Hedberg authored
-
Jaikumar Ganesh authored
We were deleting the SDP records only if a device was registered for those UUIDs. With this change, we delete the SDP records even if there are no drivers registered.
-