Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pbio/task: don't run task from cancel function
Since efda5d0 ("drv/bluetooth_stm32_bluenrg: strict ordering of BLE tasks"), it is no longer safe to call pbio_task_run_once() anywhere but in the main contiki process loop of Bluetooth drivers. This could break canceling some Bluetooth operations (causing them to hang), but this will need to be fixed in a different way. A FIXME comment with some suggestions is added to remind us to fix this.
- Loading branch information