1. 19 12月, 2011 11 次提交
  2. 17 12月, 2011 4 次提交
  3. 02 12月, 2011 2 次提交
  4. 01 12月, 2011 1 次提交
  5. 17 11月, 2011 2 次提交
  6. 11 11月, 2011 2 次提交
  7. 09 11月, 2011 2 次提交
  8. 08 11月, 2011 12 次提交
  9. 15 10月, 2011 2 次提交
  10. 14 10月, 2011 1 次提交
  11. 21 9月, 2011 1 次提交
    • A
      Bluetooth: Add mgmt events for blacklisting · 5e762444
      Antti Julku 提交于
      Add management interface events for blocking/unblocking a device.
      Sender of the block device command gets cmd complete and other
      mgmt sockets get the event. Event is also sent to mgmt sockets when
      blocking is done with ioctl, e.g when blocking a device with
      hciconfig. This makes it possible for bluetoothd to track status
      of blocked devices when a third party block or unblocks a device.
      
      Event sending is handled in mgmt_device_blocked function which gets
      called from hci_blacklist_add in hci_core.c. A pending command is
      added in mgmt_block_device, so that it can found when sending the
      event - the event is not sent to the socket from which the pending
      command came. Locks were moved out from hci_core.c to hci_sock.c
      and mgmt.c, because locking is needed also for mgmt_pending_add in
      mgmt.c.
      Signed-off-by: NAntti Julku <antti.julku@nokia.com>
      Signed-off-by: NGustavo F. Padovan <padovan@profusion.mobi>
      5e762444