]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ehea: Fixing firmware queue config issue
authorThomas Klein <osstklei@de.ibm.com>
Mon, 22 Jan 2007 11:52:50 +0000 (12:52 +0100)
committerJeff Garzik <jeff@garzik.org>
Tue, 23 Jan 2007 05:59:20 +0000 (00:59 -0500)
Fix to use exactly one queue for incoming packets in all
firmware configurations

Signed-off-by: Thomas Klein <tklein@de.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/ehea/ehea_main.c

index 49f669c4b019649d9d7c010f38b9e72739e4b50c..3e9c760cb283b288e64d3e6d74cd3124d1b8a6b4 100644 (file)
@@ -998,7 +998,7 @@ static int ehea_configure_port(struct ehea_port *port)
                     | EHEA_BMASK_SET(PXLY_RC_JUMBO_FRAME, 1);
 
        for (i = 0; i < port->num_def_qps; i++)
-               cb0->default_qpn_arr[i] = port->port_res[i].qp->init_attr.qp_nr;
+               cb0->default_qpn_arr[i] = port->port_res[0].qp->init_attr.qp_nr;
 
        if (netif_msg_ifup(port))
                ehea_dump(cb0, sizeof(*cb0), "ehea_configure_port");