Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 336c45c9 authored by Gabriel Biren's avatar Gabriel Biren Committed by Automerger Merge Worker
Browse files

Merge "Add a null pointer check for wifi_chip in...

Merge "Add a null pointer check for wifi_chip in configureChipToSupportIfaceTypeInternal." am: 46417dd8 am: eb25ad26 am: fc9f86a1

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2256003



Change-Id: I474e0c383db003edf0a046f41810bf1b5fb0f1de
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents a55c51a8 fc9f86a1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ bool findAnyModeSupportingIfaceType(
bool configureChipToSupportIfaceTypeInternal(const sp<IWifiChip>& wifi_chip,
                                             IfaceType type,
                                             ChipModeId* configured_mode_id) {
    if (!configured_mode_id) {
    if (!configured_mode_id || !wifi_chip.get()) {
        return false;
    }
    const auto& status_and_modes = HIDL_INVOKE(wifi_chip, getAvailableModes);