1. 14 Oct, 2011 1 commit
    • David Herrmann's avatar
      Bluetooth: Fix hci core device initialization · 0ac7e700
      David Herrmann authored
      We must not call device_del() if we didn't use device_add(). See module.c
      for comments on that. Therefore, we need to call device_initialize() when
      allocating the hci device and later device_add() instead of
      device_register().
      
      This also fixes a bug when hci_register_dev() failed and we call
      hci_free_dev() without a valid core device. hci_free_dev() segfaults while
      calling put_device() on invalid memory.
      
      We already do this with hci_conn connections (hci_conn_init_sysfs()) so
      they do not need to be fixed.
      Signed-off-by: default avatarDavid Herrmann <dh.herrmann@googlemail.com>
      Signed-off-by: default avatarGustavo F. Padovan <padovan@profusion.mobi>
      0ac7e700
  2. 13 Oct, 2011 15 commits
  3. 11 Oct, 2011 6 commits
  4. 10 Oct, 2011 2 commits
  5. 07 Oct, 2011 10 commits
  6. 06 Oct, 2011 2 commits
  7. 29 Sep, 2011 3 commits
  8. 27 Sep, 2011 1 commit