1. 11 11月, 2008 1 次提交
  2. 04 11月, 2008 1 次提交
  3. 01 11月, 2008 1 次提交
    • W
      airo: Kill directly reference of netdev->priv · faf3994a
      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.
      
      In this driver, I don't simply use netdev_priv() to replace netdev->priv.
      
      The reason is:
      Pointer netdev->priv was changed in this driver, but it shouldn't.
      Because the memory was allocated when alloc_netdev() and netdev->priv
      should always point to that memory.
      
      So I use netdev->ml_priv to replace netdev->priv.
      After replacing, both ai and ai->wifidev->ml_priv point to the same memory.
      Signed-off-by: NWang Chen <wangchen@cn.fujitsu.com>
      Cc: John W. Linville <linville@tuxdriver.com>
      Cc: Dan Williams <dcbw@redhat.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      faf3994a
  4. 28 10月, 2008 1 次提交
  5. 25 9月, 2008 1 次提交
    • D
      wireless: Read scan flags correctly on x86-64 · 9930ccee
      David Kilroy 提交于
      The SIOCSIWSCAN handler is passed data in an iw_point structure. Some
      drivers erronously use an iw_param instead.
      
      On 32 bit architectures the difference isn't noticed as the flags
      parameter tends to be the only one used by scan handlers and is at the
      same offset.
      
      On 64 bit architectures the pointer in the iw_point structure means the
      flag parameter is at different offsets in these structures.
      
      Thanks to Jean Tourrilhes for tracking this down for orinoco, and Pavel
      Roskin for confirming the fix and identifying other suspect handlers.
      Signed-off-by: NDavid Kilroy <kilroyd@googlemail.com>
      Acked-by: NPavel Roskin <proski@gnu.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      9930ccee
  6. 23 8月, 2008 1 次提交
  7. 27 6月, 2008 1 次提交
  8. 17 6月, 2008 1 次提交
    • D
      wext: Emit event stream entries correctly when compat. · ccc58057
      David S. Miller 提交于
      Three major portions to this change:
      
      1) Add IW_EV_COMPAT_LCP_LEN, IW_EV_COMPAT_POINT_OFF,
         and IW_EV_COMPAT_POINT_LEN helper defines.
      
      2) Delete iw_stream_check_add_*(), they are unused.
      
      3) Add iw_request_info argument to iwe_stream_add_*(), and use it to
         size the event and pointer lengths correctly depending upon whether
         IW_REQUEST_FLAG_COMPAT is set or not.
      
      4) The mechanical transformations to the drivers and wireless stack
         bits to get the iw_request_info passed down into the routines
         modified in #3.  Also, explicit references to IW_EV_LCP_LEN are
         replaced with iwe_stream_lcp_len(info).
      
      With a lot of help and bug fixes from Masakazu Mokuno.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ccc58057
  9. 15 6月, 2008 1 次提交
  10. 05 6月, 2008 1 次提交
    • A
      airo warning fix · b212f337
      Andrew Morton 提交于
      WARNING: space prohibited between function name and open parenthesis '('
      #22: FILE: drivers/net/wireless/airo.c:2907:
      +	while ((IN4500 (ai, COMMAND) & COMMAND_BUSY) && (delay < 10000)) {
      
      total: 0 errors, 1 warnings, 8 lines checked
      
      ./patches/wireless-airo-waitbusy-wont-delay.patch has style problems, please review.  If any of these errors
      are false positives report them to the maintainer, see
      CHECKPATCH in MAINTAINERS.
      
      Please run checkpatch prior to sending patches
      
      Cc: Dan Williams <dcbw@redhat.com>
      Cc: Roel Kluin <roel.kluin@gmail.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      b212f337
  11. 17 5月, 2008 2 次提交
  12. 15 5月, 2008 1 次提交
  13. 29 4月, 2008 3 次提交
  14. 29 1月, 2008 19 次提交
  15. 11 10月, 2007 5 次提交