[riot-commits] [RIOT-OS/RIOT] 3361f9: pkg/nimble/autoconn: stop scan/adv on NETIF_ABORT_...

Francisco noreply at github.com
Mon Aug 23 10:06:48 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 3361f92202a5e538fef6e941e0cb30b81b1e9781
      https://github.com/RIOT-OS/RIOT/commit/3361f92202a5e538fef6e941e0cb30b81b1e9781
  Author: Francisco Molina <femolina at uc.cl>
  Date:   2021-08-03 (Tue, 03 Aug 2021)

  Changed paths:
    M pkg/nimble/autoconn/nimble_autoconn.c

  Log Message:
  -----------
  pkg/nimble/autoconn: stop scan/adv on NETIF_ABORT_SLAVE

When a connection is aborted and the node in question is a slave
then it can be advertising/scanning at the time. The incoming
event triggers the state to be changed to IDLE but ongoing adv/scan
which will cause 'nimble_netif_conn_start_adv' to fail to allocate
a handle as the netif will still be busy. Therefore when
stop scan/stop before switching the state.


  Commit: b6475b5370ac5d858dfb2c5a2d07f7bdf52f1549
      https://github.com/RIOT-OS/RIOT/commit/b6475b5370ac5d858dfb2c5a2d07f7bdf52f1549
  Author: Francisco <femolina at uc.cl>
  Date:   2021-08-23 (Mon, 23 Aug 2021)

  Changed paths:
    M pkg/nimble/autoconn/nimble_autoconn.c

  Log Message:
  -----------
  Merge pull request #16699 from fjmolinas/pr_nimble_autoconn_slave_abort

pkg/nimble/autoconn: stop scan/adv on NETIF_ABORT_SLAVE


Compare: https://github.com/RIOT-OS/RIOT/compare/896aeae24834...b6475b5370ac


More information about the commits mailing list