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

Commit e02b870d authored by Andre Eisenbach's avatar Andre Eisenbach Committed by Android (Google) Code Review
Browse files

Merge "Swapped memset params" into nyc-dev

parents 5be60417 5d857d98
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -93,7 +93,7 @@ static int set_name(int argc, char **argv) {
  if (!write_hci_command(HCI_PACKET_COMMAND, packet, sizeof(packet)))
    return 1;

  memset(&packet[0], sizeof(packet), 0);
  memset(&packet[0], 0, sizeof(packet));
  packet[0] = 0x52;
  packet[1] = 0x0C;
  packet[2] = 0xF1;  // HCI command packet length.