Author: kevlo
Date: Thu Dec 10 07:45:58 2015
New Revision: 292056
URL: https://svnweb.freebsd.org/changeset/base/292056

Log:
  All 2-endpoints configs have high and normal pariority queues.

Modified:
  head/sys/dev/usb/wlan/if_urtwn.c

Modified: head/sys/dev/usb/wlan/if_urtwn.c
==============================================================================
--- head/sys/dev/usb/wlan/if_urtwn.c    Thu Dec 10 07:42:56 2015        
(r292055)
+++ head/sys/dev/usb/wlan/if_urtwn.c    Thu Dec 10 07:45:58 2015        
(r292056)
@@ -2935,13 +2935,11 @@ urtwn_dma_init(struct urtwn_softc *sc)
                else
                        reg |= R92C_TRXDMA_CTRL_QMAP_LQ;
        } else if (nqueues == 2) {
-               /* All 2-endpoints configs have a high priority queue. */
-               if (!hashq)
-                       return (EIO);
-               if (hasnq)
-                       reg |= R92C_TRXDMA_CTRL_QMAP_HQ_NQ;
-               else
-                       reg |= R92C_TRXDMA_CTRL_QMAP_HQ_LQ;
+               /* 
+                * All 2-endpoints configs have high and normal 
+                * priority queues.
+                */
+               reg |= R92C_TRXDMA_CTRL_QMAP_HQ_NQ;
        } else
                reg |= R92C_TRXDMA_CTRL_QMAP_3EP;
        usb_err = urtwn_write_2(sc, R92C_TRXDMA_CTRL, reg);
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to