1. 20 Apr, 2016 2 commits
    • Takashi Iwai's avatar
      Bluetooth: vhci: Fix race at creating hci device · c7c999cb
      Takashi Iwai authored
      hci_vhci driver creates a hci device object dynamically upon each
      HCI_VENDOR_PKT write.  Although it checks the already created object
      and returns an error, it's still racy and may build multiple hci_dev
      objects concurrently when parallel writes are performed, as the device
      tracks only a single hci_dev object.
      
      This patch introduces a mutex to protect against the concurrent device
      creations.
      
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      c7c999cb
    • Alexander Aring's avatar
      at86rf230: increase sleep to off timings · 60f5f5d3
      Alexander Aring authored
      I expierenced when setting channel while sleep mode it didn't changed
      the channel inside the hardware registers. Then I got another report of
      an user which has similar issues.
      
      I increased the sleep to off state change timing, which is according
      at86rf233 at maximum 1000 us. After this change I got no similar effects
      again.
      
      I tried another option to wait on AWAKE_END irq, which can be used to
      wait until the transceiver is awaked. I tested it and the IRQ took 4
      seconds after starting state change. I don't believe it takes 4 seconds
      to go into the TRX_OFF state from SLEEP state. The alternative is to
      increase the timings which seems to work.
      
      Cc: Oleg Hahm <oliver.hahm@inria.fr>
      Signed-off-by: default avatarAlexander Aring <aar@pengutronix.de>
      Reviewed-by: Stefan Schmidt<stefan@osg.samsung.com>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      60f5f5d3
  2. 13 Apr, 2016 24 commits
  3. 12 Apr, 2016 4 commits
  4. 11 Apr, 2016 10 commits