qeth: set promisc off after trace disabling failure
authorUrsula Braun <ursula.braun@de.ibm.com>
Mon, 8 Mar 2010 20:36:55 +0000 (20:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Mar 2010 15:32:25 +0000 (07:32 -0800)
commita959189a978e0104e8aa7f1522f5eff42d891456
tree016ac191d810a485d8de52e316d1e0a79cba31e6
parent21fde749cbf71d03e8cf87a7a9a45349597e138a
qeth: set promisc off after trace disabling failure

If HiperSockets Network Traffic Analyzer is switched off, but trace
disabling fails somehow, the qeth driver does not switch off its
promisc mode status. A following sniffer reactivation fails, since
qeth does not see a need to reenable tracing.
At the same time the code analyzing results of trace commands is
restructured.

Signed-off-by: Ursula Braun <ursula.braun@de.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_l3_main.c