1. 20 1月, 2017 3 次提交
  2. 17 1月, 2017 1 次提交
  3. 02 1月, 2017 1 次提交
  4. 30 12月, 2016 16 次提交
  5. 21 12月, 2016 1 次提交
  6. 16 12月, 2016 1 次提交
  7. 14 12月, 2016 1 次提交
  8. 29 11月, 2016 1 次提交
    • L
      rtlwifi: Fix enter/exit power_save · ba9f93f8
      Larry Finger 提交于
      In commit a5ffbe0a ("rtlwifi: Fix scheduling while atomic bug") and
      commit a269913c ("rtlwifi: Rework rtl_lps_leave() and rtl_lps_enter()
      to use work queue"), an error was introduced in the power-save routines
      due to the fact that leaving PS was delayed by the use of a work queue.
      
      This problem is fixed by detecting if the enter or leave routines are
      in interrupt mode. If so, the workqueue is used to place the request.
      If in normal mode, the enter or leave routines are called directly.
      
      Fixes: a269913c ("rtlwifi: Rework rtl_lps_leave() and rtl_lps_enter() to use work queue")
      Reported-by: NPing-Ke Shih <pkshih@realtek.com>
      Signed-off-by: NLarry Finger <Larry.Finger@lwfinger.net>
      Cc: Stable <stable@vger.kernel.org>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      ba9f93f8
  9. 17 11月, 2016 9 次提交
  10. 13 10月, 2016 1 次提交
    • L
      rtlwifi: Fix regression caused by commit d86e6476 · cf4747d7
      Larry Finger 提交于
      In commit d86e6476 ("rtlwifi: rtl818x: constify local structures"),
      the configuration struct for most of the drivers was changed to be
      constant. The problem is that five of the modified drivers need to be
      able to update the firmware name based on the exact model of the card.
      As the file names were stored in one of the members of that struct,
      these drivers would fail with a kernel BUG splat when they tried to
      update the firmware name.
      
      Rather than reverting the previous commit, I used a suggestion by
      Johannes Berg and made the firmware file name pointers be local to
      the routines that update the software variables.
      
      The configuration struct of rtl8192cu, which was not touched in the
      previous patch, is now constantfied.
      
      Fixes: d86e6476 ("rtlwifi: rtl818x: constify local structures")
      Suggested-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NLarry Finger <Larry.Finger@lwfinger.net>
      Cc: Stable <stable@vger.kernel.org> # 4.8
      Cc: Julia Lawall <Julia.Lawall@lip6.fr>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      cf4747d7
  11. 27 9月, 2016 3 次提交
  12. 15 9月, 2016 1 次提交
    • J
      rtlwifi: rtl818x: constify local structures · d86e6476
      Julia Lawall 提交于
      For structure types defined in the same file or local header files, find
      top-level static structure declarations that have the following
      properties:
      1. Never reassigned.
      2. Address never taken
      3. Not passed to a top-level macro call
      4. No pointer or array-typed field passed to a function or stored in a
      variable.
      Declare structures having all of these properties as const.
      
      Done using Coccinelle.
      Based on a suggestion by Joe Perches <joe@perches.com>.
      Signed-off-by: NJulia Lawall <Julia.Lawall@lip6.fr>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      d86e6476
  13. 04 9月, 2016 1 次提交