]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
fix up 4.4 rtlwifi patch
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 15 Dec 2019 11:54:20 +0000 (12:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 15 Dec 2019 11:54:20 +0000 (12:54 +0100)
queue-4.4/rtlwifi-rtl8192de-fix-missing-callback-that-tests-for-hw-release-of-buffer.patch

index 4a145ebc4371d11cce6655d63858a15da09dccfe..40e17daa3fc439792c6eaea3577c48caad8f179c 100644 (file)
@@ -45,7 +45,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 +      struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw));
 +      struct rtl8192_tx_ring *ring = &rtlpci->tx_ring[hw_queue];
 +      u8 *entry = (u8 *)(&ring->desc[ring->idx]);
-+      u8 own = (u8)rtl92de_get_desc(hw, entry, true, HW_DESC_OWN);
++      u8 own = (u8)rtl92de_get_desc(entry, true, HW_DESC_OWN);
 +
 +      /* a beacon packet will only use the first
 +       * descriptor by defaut, and the own bit may not