btio.c | 382 struct bt_power pwr; local 384 memset(&pwr, 0, sizeof(struct bt_power)); 385 pwr.force_active = force_active; 387 if (setsockopt(sock, SOL_BLUETOOTH, BT_POWER, &pwr, 388 sizeof(pwr)) == 0) 481 struct bt_power pwr; local 484 memset(&pwr, 0, sizeof(pwr)); 485 len = sizeof(pwr); 486 if (getsockopt(sock, SOL_BLUETOOTH, BT_POWER, &pwr, &len) == 0) [all...] |