[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bluetooth-dev] Country code missed function



Hi,

I forgot to include the actual function in the previous mail (also
belongs to hci.c).

s32
hci_read_country_code(void)
{
  s32 tmp;

  D_CMD(__FUNCTION__"\n");
  c_pkt.type = CMD_PKT;
  c_pkt.opcode = hci_put_opcode(READ_COUNTRY_CODE, HCI_IP);
  c_pkt.len = 0;

  tmp = send_cmd_block((u8*) &c_pkt, c_pkt.len + CMD_HDR_LEN + HCI_HDR_LEN);

  if (tmp < 0) {
    return tmp;
  } else {
    return result_param;
  }
}

Kind regards,

Per

-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com