[bluez/bluez] 9c739b: settings: Fix scan-build warning

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

 



  Branch: refs/heads/master
  Home:   https://github.com/bluez/bluez
  Commit: 9c739ba22f094496381a6bce88ed4c118ef020b9
      https://github.com/bluez/bluez/commit/9c739ba22f094496381a6bce88ed4c118ef020b9
  Author: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
  Date:   2022-10-18 (Tue, 18 Oct 2022)

  Changed paths:
    M src/settings.c

  Log Message:
  -----------
  settings: Fix scan-build warning

This fixes the following warning:

src/settings.c:281:7: warning: Branch condition evaluates to a garbage
value [core.uninitialized.Branch]
                if (ret) {
                    ^~~


  Commit: a49b47f241ce0e28f721efaaf821b79e33a44b31
      https://github.com/bluez/bluez/commit/a49b47f241ce0e28f721efaaf821b79e33a44b31
  Author: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
  Date:   2022-10-18 (Tue, 18 Oct 2022)

  Changed paths:
    M monitor/att.c

  Log Message:
  -----------
  monitor/att: Detect cache changes

This attempts to detect if the were any changes on cache files since
they were last loaded and then attempt to reload them.


  Commit: 68155e2f7e66c92617696f4731a7422a19f5bb0a
      https://github.com/bluez/bluez/commit/68155e2f7e66c92617696f4731a7422a19f5bb0a
  Author: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
  Date:   2022-10-18 (Tue, 18 Oct 2022)

  Changed paths:
    M monitor/att.c

  Log Message:
  -----------
  monitor/att: Revert treating Notification/Indication as a request

Notification/Indication shall be treated as response (rsp=true) so the
correct database is used:

> ACL Data RX: Handle 3585 flags 0x02 dlen 14
      ATT: Handle Value Notification (0x1b) len 9
        Handle: 0x002a Type: Report (0x2a4d)
          Data: 0000feffff0000


Compare: https://github.com/bluez/bluez/compare/07fd4b948251...68155e2f7e66



[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