qeth: Fix default queue setting in priority queueing
authorStefan Raspl <raspl@linux.vnet.ibm.com>
Mon, 28 Apr 2014 08:05:05 +0000 (10:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Apr 2014 17:44:09 +0000 (13:44 -0400)
commit0f8ee7fc5ddee6a326b5ecd4f1ce09e14b65638a
tree8ac43dc8bba54b103570551b30aff50431b3e708
parentd39a743511cdb80884b4b9cd506fe84b6b08e66e
qeth: Fix default queue setting in priority queueing

The default queue for queueing modes prio_queueing_prec and
prio_queueing_tos is supposed to be QETH_DEFAULT_QUEUE. However, neither
mode will reset the default default_out_queue value when enabled, leaving
a previously set value activate as the default.
E.g. enabling one of the fixed queueing modes, e.g. no_prio_queueing:0,
and successively switching to any of the prio_queueing_* modes will
leave default_out_queue at the previous (wrong) value 0.

Signed-off-by: Stefan Raspl <raspl@linux.vnet.ibm.com>
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core_sys.c