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

Commit 644470e6 authored by Zach Johnson's avatar Zach Johnson
Browse files

rusty-gd: make sure to notify HCI shim on stack start

this way it can register for events, etc

Bug: 171749953
Tag: #gd-refactor
Test: gd/cert/run --rhost DirectHciTest
Change-Id: Iec2fb8b7dfe67dd843cc546eec217aa688f3c629
parent 97368988
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -224,7 +224,7 @@ async fn dispatch(
                                }
                            },
                            None if code == EventCode::NumberOfCompletedPackets =>{},
                            None => panic!("Unhandled subevent {:?}", code),
                            None => panic!("Unhandled event {:?}", code),
                        }
                    },
                }
+1 −0
Original line number Diff line number Diff line
@@ -81,6 +81,7 @@ void Stack::StartEverything() {
      rust_controller_ = new ::rust::Box<rust::Controller>(
          rust::get_controller(**rust_stack_));
    }
    bluetooth::shim::hci_on_reset_complete();
    return;
  }