1. 05 1月, 2012 1 次提交
  2. 22 12月, 2011 1 次提交
    • J
      iwlagn: fix (remove) use of PAGE_SIZE · 10667136
      Johannes Berg 提交于
      The ICT code erroneously uses PAGE_SIZE. The bug
      is that PAGE_SIZE isn't necessarily 4096, so on
      such platforms this code will not work correctly
      as we'll try to attempt to read an index in the
      table that the device never wrote, it always has
      4096-byte pages.
      
      Additionally, the manual alignment code here is
      unnecessary -- Documentation/DMA-API-HOWTO.txt
      states:
        The cpu return address and the DMA bus master address are both
        guaranteed to be aligned to the smallest PAGE_SIZE order which
        is greater than or equal to the requested size.  This invariant
        exists (for example) to guarantee that if you allocate a chunk
        which is smaller than or equal to 64 kilobytes, the extent of the
        buffer you receive will not cross a 64K boundary.
      
      Just use appropriate new constants and get rid of
      the alignment code.
      
      Cc: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      10667136
  3. 20 12月, 2011 6 次提交
  4. 16 12月, 2011 24 次提交
  5. 15 12月, 2011 2 次提交
  6. 13 12月, 2011 1 次提交
  7. 10 12月, 2011 1 次提交
    • N
      iwlwifi regression in 20111205 merge · b6a27d1e
      Nikolay Martynov 提交于
        It looks like the regression was introduced between 20111202 and
      20111205 (linux-next tree). Symptoms: connection to AP seem to be
      established, but no data goes though it in any way. Tested on intel
      5300.
        Peek at the changes have shown that it looks like at least part of
      the code wasn't merged properly. It was originally committed into
      iwl_agn.c but code in question was moved to iwl-mac80211.c.
        This patch puts code in place and my card works again.
      Signed-off-by: NNikolay Martynov <mar.kolya@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      b6a27d1e
  8. 09 12月, 2011 4 次提交