zephyr/subsys
Piotr Pryga c18477ad25 Bluetooth: Controller: llcp: fix wrong cond in prepare instant
In a function pu_prepare_instant there is a condition that
checks if there is actual change of a PHY. That condition
was based on ctx->data.pu.tx and ctx->data.pu.rx.
These members store PHY that is or will be used, hence
the condition is wrong. Even there is no actual change in
the PHY, values could be not equal to zero. In such case
the instant value would be set to wrong value.
What more the condition be an 'or' not an 'and' because
one of the values must be different than zero to have the
PHY change and instant different than zero.

After update of the condition, the function call places
must be changed. The ctx->data.pu.c_to_p_phy and
ctx->data.pu.p_to_c_phy are set in pu_prepare_update_ind
function, hence pu_prepare_instant should be called after
that.

Signed-off-by: Piotr Pryga <piotr.pryga@nordicsemi.no>
2022-05-06 11:50:59 +02:00
..
bluetooth Bluetooth: Controller: llcp: fix wrong cond in prepare instant 2022-05-06 11:50:59 +02:00
canbus canbus: isotp: remove superfluous default n for boolean 2022-04-19 11:49:27 +02:00
console
cpp
debug debug: generate call graph profile data using gprof 2022-04-22 16:04:08 -04:00
demand_paging
dfu
disk everywhere: fix typos 2022-03-18 13:24:08 -04:00
emul everywhere: fix typos 2022-03-18 13:24:08 -04:00
fb cfb: support for HPACKED fonts 2022-04-06 09:49:00 -05:00
fs fs: Kconifg: use rsource instead of source for local Kconfigs 2022-04-11 12:12:20 +02:00
ipc openamp: Bump to v2022.04.0 2022-05-02 08:44:17 -05:00
jwt
logging logging: cAVS HDA based logger 2022-05-04 18:56:13 -04:00
lorawan lorawan: adding settings NVM for LoRaWAN 2022-05-02 10:56:02 +02:00
mgmt mgmt/mcumgr/lib: doc: Minor fixes to zcbor_bulk documentation 2022-04-19 11:35:16 +02:00
modbus modbus: stop bits can now be set individually in client mode 2022-03-24 08:23:17 -04:00
net net: sockets: Move offloading out of experimental 2022-05-06 11:30:22 +02:00
pm pm: policy: Consider substates for state lock functions 2022-04-28 16:32:23 +02:00
portability include: Prefix includes to use a scope 2022-04-08 19:03:32 +02:00
random random: rand32_ctr_drbg: fix bug preventing initialization 2022-03-23 07:42:34 -05:00
sd sd: Add sdmmc protocol stack 2022-04-29 14:21:36 -05:00
settings settings: Add support for overriding settings partition 2022-03-24 08:16:46 -04:00
shell shell: fix missing "update" for the last RXRDY signal 2022-04-29 16:11:43 +02:00
stats
storage everywhere: fix typos 2022-03-18 13:24:08 -04:00
task_wdt
testsuite Revert "ztest: Fix userspace ztests in new API" 2022-04-26 18:55:32 -04:00
timing
tracing subsys/tracing: Use z_current_get for thread tracing 2022-04-28 11:09:01 +09:00
usb include: Prefix includes to use a scope 2022-04-08 19:03:32 +02:00
CMakeLists.txt sd: Add common SD initialization code 2022-04-29 14:21:36 -05:00
Kconfig sd: Add common SD initialization code 2022-04-29 14:21:36 -05:00