summaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorJohan Hovold <johan+linaro@kernel.org>2024-04-30 19:07:41 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-05-17 12:15:11 +0200
commit1796f7a9ae7b9be6da874771bb7a9e1cc7692b4c (patch)
treec59ff665a9b0bd3c582d3972903a1fd3bb402811 /lib/memory-notifier-error-inject.c
parent624c625894942738516013cdd00766fdea92ecc9 (diff)
Bluetooth: qca: generalise device address check
commit dd336649ba89789c845618dcbc09867010aec673 upstream. The default device address apparently comes from the NVM configuration file and can differ quite a bit between controllers. Store the default address when parsing the configuration file and use it to determine whether the controller has been provisioned with an address. This makes sure that devices without a unique address start as unconfigured unless a valid address has been provided in the devicetree. Fixes: 32868e126c78 ("Bluetooth: qca: fix invalid device address check") Cc: stable@vger.kernel.org # 6.5 Cc: Doug Anderson <dianders@chromium.org> Cc: Janaki Ramaiah Thota <quic_janathot@quicinc.com> Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Tested-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions