[bluez/bluez] 110a8b: shared/gatt-server: Fix not using correct MTU for ...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  Branch: refs/heads/master
  Home:   https://github.com/bluez/bluez
  Commit: 110a8b47a4f159a8239795255b6c1c0edd79e4cd
      https://github.com/bluez/bluez/commit/110a8b47a4f159a8239795255b6c1c0edd79e4cd
  Author: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M attrib/gattrib.c
    M src/shared/att.c
    M src/shared/att.h
    M src/shared/gatt-client.c
    M src/shared/gatt-server.c

  Log Message:
  -----------
  shared/gatt-server: Fix not using correct MTU for responses

Responses shall use the bt_att_channel MTU not the bt_att MTU since the
response shall be send over the same channel as the request.


  Commit: 0041f5e22fe3e865609b0208b53c42f4690f1a82
      https://github.com/bluez/bluez/commit/0041f5e22fe3e865609b0208b53c42f4690f1a82
  Author: Guðni Már Gilbert <gudni.m.g@xxxxxxxxx>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M client/player.c

  Log Message:
  -----------
  client/player: fix incompatible pointer type

In function 'cmd_send_transport':
error: passing argument 2 of 'getpeername' from incompatible pointer
type [-Wincompatible-pointer-types]

err = getpeername(transport->sk, &addr, &optlen);
|       |                        ^~~~~
|       |                        |
|       |                        struct sockaddr_iso *

note: expected 'struct sockaddr * restrict' but argument is of
type 'struct sockaddr_iso *'

To resolve the compiler warnings, cast the pointer with
(struct sockaddr *).


  Commit: 337cca13037fc6f8a1db72146f12019260b892e6
      https://github.com/bluez/bluez/commit/337cca13037fc6f8a1db72146f12019260b892e6
  Author: Guðni Már Gilbert <gudni.m.g@xxxxxxxxx>
  Date:   2024-07-08 (Mon, 08 Jul 2024)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  configure.ac: Fix --disable-cups

or else we get:
  configure: error: conditional "CUPS_SERVERBIN" was never defined.
  Usually this means the macro was only invoked conditionally.

Fixes: https://github.com/bluez/bluez/issues/773

Credits go to Lars Wendler


Compare: https://github.com/bluez/bluez/compare/42d43b28428f...337cca13037f

To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications





[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux