1. 14 8月, 2009 1 次提交
  2. 04 6月, 2009 1 次提交
    • B
      libertas: improve function init/shutdown handling for SD8688 · 6bc61f4d
      Bing Zhao 提交于
      This patch is to incorporate Dan Williams' comments for commit:
      "libertas: implement function init/shutdown commands for SD8688"
      
      1. remove fn_init_required and fn_shutdown_required variables from
      lbs_private structure. If required, __lbs_cmd() will be called
      directly to send function init/shutdown command for SD8688 in
      if_sdio_probe() or if_sdio_remove() callback.
      
      2. add global variable "user_rmmod" to distinguish between the module
      removal case and the card removal case. This flag will be checked in
      if_sdio_remove() against SD8688 card to determine whether or not the
      function shutdown command needs to be sent.
      
      3. remove "card" from if_sdio_model structure as it cannot store
      card pointers for multiple cards. Besides, it's no longer needed
      to store the "card" pointer with changes #1 & #2 above.
      Signed-off-by: NBing Zhao <bzhao@marvell.com>
      Acked-by: NDan Williams <dcbw@redhat.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      6bc61f4d
  3. 23 5月, 2009 1 次提交
  4. 23 4月, 2009 1 次提交
  5. 22 3月, 2009 2 次提交
  6. 27 2月, 2009 1 次提交
  7. 30 1月, 2009 1 次提交
  8. 11 1月, 2009 1 次提交
  9. 13 12月, 2008 1 次提交
  10. 11 11月, 2008 2 次提交
    • J
      don't use net/ieee80211.h · 2c706002
      Johannes Berg 提交于
      Convert all the drivers using net/ieee80211.h to use linux/ieee80211.h.
      Contains a bugfix in libertas where the SSID parsing could overrun the
      buffer when the AP sends invalid information.
      Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
      Acked-by: Dan Williams <dcbw@redhat.com> [airo, libertas]
      Acked-by: Pavel Roskin <proski@gnu.org> [orinoco]
      Acked-by: David Kilroy <kilroyd@googlemail.com> [orinoco]
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      2c706002
    • W
      netdevice libertas: Fix directly reference of netdev->priv · 4ceb7b6a
      Wang Chen 提交于
      We have some reasons to kill netdev->priv:
      1. netdev->priv is equal to netdev_priv().
      2. netdev_priv() wraps the calculation of netdev->priv's offset, obviously
         netdev_priv() is more flexible than netdev->priv.
      But we cann't kill netdev->priv, because so many drivers reference to it
      directly.
      
      OK, becasue Dave S. Miller said, "every direct netdev->priv usage is a bug",
      and I want to kill netdev->priv later, I decided to convert all the direct
      reference of netdev->priv first.
      
      Different to readonly reference of netdev->priv, in this driver, netdev->priv
      was changed. I use netdev->ml_priv to replace netdev->priv.
      Signed-off-by: NWang Chen <wangchen@cn.fujitsu.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      4ceb7b6a
  11. 01 11月, 2008 1 次提交
  12. 28 10月, 2008 1 次提交
  13. 12 9月, 2008 1 次提交
  14. 30 8月, 2008 4 次提交
  15. 02 8月, 2008 1 次提交
  16. 15 7月, 2008 2 次提交
  17. 10 6月, 2008 1 次提交
    • H
      libertas: fix sleep confirmation · a01f5450
      Holger Schurig 提交于
      This fixes an issus that made "iwconfig eth1 power on" non-working.
      When we get a "PS sleep" event, we have to confirm this to the firmware.
      The confirm happens with a command, but this command is special: the
      firmware won't send us a response. if_cs_host_to_card() is setting
      priv->dnld_sent anyway, so this variable stayed at DNLD_DATA_SENT and
      was never cleared back.
      
      Now I put the special knowledge that the CMD_802_11_PS_MODE with
      CMD_SUBCMD_SLEEP_CONFIRMED doesn't need to need a response by directly
      clearing the dnld_sent state in lbs_send_confirmsleep().
      Signed-off-by: NHolger Schurig <hs4233@mail.mn-solutions.de>
      Acked-by: NDan Williams <dcbw@redhat.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      a01f5450
  18. 04 6月, 2008 3 次提交
  19. 22 5月, 2008 5 次提交
  20. 17 5月, 2008 2 次提交
  21. 15 5月, 2008 1 次提交
  22. 08 5月, 2008 3 次提交
  23. 17 4月, 2008 1 次提交
  24. 09 4月, 2008 2 次提交