Removing patch. No longer needed.
This commit is contained in:
parent
efd73ddb2e
commit
580e86b7f3
@ -1,30 +0,0 @@
|
|||||||
commit 94b46b4e38fa056e21e35087681c06a00ad9d0ff
|
|
||||||
Author: Jan Vcelak <jvcelak@redhat.com>
|
|
||||||
Date: Mon Dec 21 13:14:45 2009 +0100
|
|
||||||
|
|
||||||
tuned_nettool.py: bz 542305 - [abrt] crash detected in tuned-0.2.5-2.fc12
|
|
||||||
|
|
||||||
Some strange network cards (e.g. Unknown (0x1062)) are not supported
|
|
||||||
by 'ethtool'. The tool reports not very obviously:
|
|
||||||
|
|
||||||
Cannot get device settings: Operation not permitted
|
|
||||||
Cannot get wake-on-lan settings: Operation not permitted
|
|
||||||
Cannot get link status: Operation not permitted
|
|
||||||
|
|
||||||
diff --git a/tuned_nettool.py b/tuned_nettool.py
|
|
||||||
index 9fb2ce0..6119154 100644
|
|
||||||
--- a/tuned_nettool.py
|
|
||||||
+++ b/tuned_nettool.py
|
|
||||||
@@ -132,7 +132,11 @@ class Tuned_nettool:
|
|
||||||
errors = p_ethtool.communicate()[1]
|
|
||||||
|
|
||||||
if errors != "":
|
|
||||||
- raise Exception("Some errors were reported by 'ethtool'.", errors)
|
|
||||||
+ # it is possible that the network card is not supported
|
|
||||||
+ self.__clean_status()
|
|
||||||
+ return
|
|
||||||
+ # TODO: subject of logging
|
|
||||||
+ #raise Exception("Some errors were reported by 'ethtool'.", errors)
|
|
||||||
|
|
||||||
# parses output - kind of FSM
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user