1. 31 7月, 2019 12 次提交
  2. 17 7月, 2019 1 次提交
  3. 16 7月, 2019 4 次提交
    • S
      rt2x00usb: fix rx queue hang · 41a531ff
      Soeren Moch 提交于
      Since commit ed194d13 ("usb: core: remove local_irq_save() around
       ->complete() handler") the handler rt2x00usb_interrupt_rxdone() is
      not running with interrupts disabled anymore. So this completion handler
      is not guaranteed to run completely before workqueue processing starts
      for the same queue entry.
      Be sure to set all other flags in the entry correctly before marking
      this entry ready for workqueue processing. This way we cannot miss error
      conditions that need to be signalled from the completion handler to the
      worker thread.
      Note that rt2x00usb_work_rxdone() processes all available entries, not
      only such for which queue_work() was called.
      
      This patch is similar to what commit df71c9cf ("rt2x00: fix order
      of entry flags modification") did for TX processing.
      
      This fixes a regression on a RT5370 based wifi stick in AP mode, which
      suddenly stopped data transmission after some period of heavy load. Also
      stopping the hanging hostapd resulted in the error message "ieee80211
      phy0: rt2x00queue_flush_queue: Warning - Queue 14 failed to flush".
      Other operation modes are probably affected as well, this just was
      the used testcase.
      
      Fixes: ed194d13 ("usb: core: remove local_irq_save() around ->complete() handler")
      Cc: stable@vger.kernel.org # 4.20+
      Signed-off-by: NSoeren Moch <smoch@web.de>
      Acked-by: NStanislaw Gruszka <sgruszka@redhat.com>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      41a531ff
    • A
      ath10k: work around uninitialized vht_pfr variable · ff414f31
      Arnd Bergmann 提交于
      As clang points out, the vht_pfr is assigned to a struct member
      without being initialized in one case:
      
      drivers/net/wireless/ath/ath10k/mac.c:7528:7: error: variable 'vht_pfr' is used uninitialized whenever 'if' condition
            is false [-Werror,-Wsometimes-uninitialized]
                      if (!ath10k_mac_can_set_bitrate_mask(ar, band, mask,
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      drivers/net/wireless/ath/ath10k/mac.c:7551:20: note: uninitialized use occurs here
                      arvif->vht_pfr = vht_pfr;
                                       ^~~~~~~
      drivers/net/wireless/ath/ath10k/mac.c:7528:3: note: remove the 'if' if its condition is always true
                      if (!ath10k_mac_can_set_bitrate_mask(ar, band, mask,
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      drivers/net/wireless/ath/ath10k/mac.c:7483:12: note: initialize the variable 'vht_pfr' to silence this warning
              u8 vht_pfr;
      
      Add an explicit but probably incorrect initialization here.
      I suspect we want a better fix here, but chose this approach to
      illustrate the issue.
      
      Fixes: 8b97b055 ("ath10k: fix failure to set multiple fixed rate")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Reviewed-by: NNathan Chancellor <natechancellor@gmail.com>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      ff414f31
    • L
      iwlwifi: pcie: add support for qu c-step devices · a7d544d6
      Luca Coelho 提交于
      Add support for C-step devices.  Currently we don't have a nice way of
      matching the step and choosing the proper configuration, so we need to
      switch the config structs one by one.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      a7d544d6
    • I
      iwlwifi: add new cards for 9000 and 20000 series · ffcb60a5
      Ihab Zhaika 提交于
      add two new PCI ID's for 9000 and 20000 series
      
      Cc: stable@vger.kernel.org
      Signed-off-by: NIhab Zhaika <ihab.zhaika@intel.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      ffcb60a5
  4. 13 7月, 2019 1 次提交
  5. 29 6月, 2019 22 次提交