diff options
Diffstat (limited to 'device')
-rw-r--r-- | device/bluetooth/bluetooth_l2cap_channel_mac.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/device/bluetooth/bluetooth_l2cap_channel_mac.mm b/device/bluetooth/bluetooth_l2cap_channel_mac.mm index b136d27..f0c3066 100644 --- a/device/bluetooth/bluetooth_l2cap_channel_mac.mm +++ b/device/bluetooth/bluetooth_l2cap_channel_mac.mm @@ -116,7 +116,7 @@ void BluetoothL2capChannelMac::SetSocket(BluetoothSocketMac* socket) { } IOBluetoothDevice* BluetoothL2capChannelMac::GetDevice() { - return [channel_ getDevice]; + return [channel_ device]; } uint16_t BluetoothL2capChannelMac::GetOutgoingMTU() { @@ -142,7 +142,7 @@ void BluetoothL2capChannelMac::OnChannelOpenComplete( } socket()->OnChannelOpenComplete( - BluetoothClassicDeviceMac::GetDeviceAddress([channel getDevice]), status); + BluetoothClassicDeviceMac::GetDeviceAddress([channel device]), status); } void BluetoothL2capChannelMac::OnChannelClosed( |