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

Commit 6652968e authored by Bill Schilit's avatar Bill Schilit Committed by Gerrit Code Review
Browse files

Merge "RootCanal: Fix length of page_number slice in SendCommandToRemoteByAddress" into main

parents b9b29806 77a234d8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2134,7 +2134,7 @@ ErrorCode LinkLayerController::SendCommandToRemoteByAddress(
              own_address, peer_address));
      break;
    case (OpCode::READ_REMOTE_EXTENDED_FEATURES): {
      pdl::packet::slice page_number_slice = args.subrange(5, 2);
      pdl::packet::slice page_number_slice = args.subrange(5, 1);
      uint8_t page_number = page_number_slice.read_le<uint8_t>();
      SendLinkLayerPacket(
          model::packets::ReadRemoteExtendedFeaturesBuilder::Create(