WiFi-Hal: Fix checks on logger capabilities of driver

Not all devices support logger, so don't treat the lack of logger
capability as a fatal error.
Add checking in wifi_logger_ring_buffers_deinit to not cleanup
logger when it was not initialized in the first place due to lack
of logger support.
Call wifi_logger_ring_buffers_deinit in the wifi_initialize
failure path.

Bug: 77649716
Test: Boot device without logger support and verify wifi works
Change-Id: I135ea60b19e347f62b37da76a476f68e8f441501
Signed-off-by: Ben Fennema <fennema@google.com>
2 files changed
tree: 251f20857cce122aafa448301e512ae0c8b105fa
  1. cld80211-lib/
  2. qcwcn/
  3. Android.mk
  4. OWNERS