1. 25 3月, 2010 1 次提交
  2. 16 3月, 2010 1 次提交
  3. 28 2月, 2010 1 次提交
  4. 09 2月, 2010 2 次提交
    • H
      libertas: don't retry commands · 40e6fa82
      Holger Schurig 提交于
      Retrying commands seldomly works, most often the firmware is in a
      weird state anyway and needs the device to reset. So it's better
      to report the broken state back to user-space.
      
      Also rename command_timer_fn() into lbs_cmd_timeout_handler(),
      which better reflect it's usage.
      Signed-off-by: NHolger Schurig <holgerschurig@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      40e6fa82
    • R
      libertas/if_spi: needs linux/semaphore.h · 371ba883
      Randy Dunlap 提交于
      libertas/if_spi.c needs to #include linux/semaphore.h to fix build errors:
      
      drivers/net/wireless/libertas/if_spi.c:59: error: field 'spi_ready' has incomplete type
      drivers/net/wireless/libertas/if_spi.c:60: error: field 'spi_thread_terminated' has incomplete type
      drivers/net/wireless/libertas/if_spi.c:785: error: implicit declaration of function 'down_interruptible'
      drivers/net/wireless/libertas/if_spi.c:787: error: implicit declaration of function 'up'
      drivers/net/wireless/libertas/if_spi.c:834: error: implicit declaration of function 'down'
      drivers/net/wireless/libertas/if_spi.c:943: error: implicit declaration of function 'sema_init'
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Acked-by: NDan Williams <dcbw@redhat.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      371ba883
  5. 28 1月, 2010 1 次提交
  6. 20 1月, 2010 2 次提交
  7. 29 12月, 2009 1 次提交
  8. 27 12月, 2009 1 次提交
  9. 23 12月, 2009 14 次提交
  10. 22 12月, 2009 1 次提交
    • D
      Libertas: fix buffer overflow in lbs_get_essid() · 45b24168
      Daniel Mack 提交于
      The libertas driver copies the SSID buffer back to the wireless core and
      appends a trailing NULL character for termination. This is
      
      a) unnecessary because the buffer is allocated with kzalloc and is hence
         already NULLed when this function is called, and
      
      b) for priv->curbssparams.ssid_len == 32, it writes back one byte too
         much which causes memory corruptions.
      
      Fix this by removing the extra write.
      Signed-off-by: NDaniel Mack <daniel@caiaq.de>
      Cc: Stephen Hemminger <shemminger@vyatta.com>
      Cc: Maithili Hinge <maithili@marvell.com>
      Cc: Kiran Divekar <dkiran@marvell.com>
      Cc: Michael Hirsch <m.hirsch@raumfeld.com>
      Cc: netdev@vger.kernel.org
      Cc: libertas-dev@lists.infradead.org
      Cc: linux-wireless@lists.infradead.org
      Cc: stable@kernel.org
      Acked-by: NHolger Schurig <holgerschurig@gmail.com>
      Acked-by: NDan Williams <dcbw@redhat.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      45b24168
  11. 04 12月, 2009 1 次提交
  12. 29 11月, 2009 7 次提交
  13. 12 11月, 2009 1 次提交
  14. 11 11月, 2009 2 次提交
  15. 09 11月, 2009 1 次提交
  16. 03 11月, 2009 1 次提交
    • A
      libertas: remove internal buffers from GSPI driver · 86c34fe8
      Andrey Yurovsky 提交于
      This patch removes the internal command and data buffers that the GSPI driver
      maintained and instead relies on the Libertas core to synchronize access
      to the command and data ports as with the other interface drivers.  This
      cleanup reduces the GSPI driver's memory footprint and should improve
      performance by removing the need to copy to these internal buffers.
      This also simplifies the bottom half of the interrupt handler.
      
      This is an incremental cleanup: after removing the redundant buffers, we
      can further improve the driver to use a threaded IRQ handler instead of
      maintaining its own thread.  However I would like a few folks to test
      the buffer removal first and make sure that I'm not introducing
      regressions.
      
      Tested on Blackfin BF527 with DMA disabled due to an issue with the SPI
      host controller driver in the current bleeding-edge Blackfin kernel.  I
      would appreciate it if someone with working DMA could test this patch
      and provide feedback.
      Signed-off-by: NAndrey Yurovsky <andrey@cozybit.com>
      Tested-by: NGeorge Shore <george.shore@imgtec.com>
      Acked-by: NDan Williams <dcbw@redhat.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      86c34fe8
  17. 31 10月, 2009 2 次提交