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

Commit 3b7958fa authored by Tomasz Wasilczyk's avatar Tomasz Wasilczyk Committed by android-build-merger
Browse files

Merge "Fix uninitialized pointer dereference when loading default radio...

Merge "Fix uninitialized pointer dereference when loading default radio module." am: 94388e4b am: e5bad5f8 am: 2ab6368f
am: 4bc99bcd

Change-Id: Id7bf3aec2086611700f2a8705aee7ca1c4e4c997
parents 27c94fca 4bc99bcd
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -68,10 +68,11 @@ void RadioService::onFirstRef()
    radio_properties_t properties;
    properties.handle =
            (radio_handle_t)android_atomic_inc(&mNextUniqueId);
    convertProperties(&properties, &halProperties);

    ALOGI("loaded default module %s, handle %d", properties.product, properties.handle);
    ALOGI("loaded default module %s, ver %s, handle %d", properties.product,
        properties.version, properties.handle);

    convertProperties(&properties, &halProperties);
    sp<Module> module = new Module(dev, properties);
    mModules.add(properties.handle, module);
}