mirror of
https://opendev.org/x/pyghmi
synced 2025-01-14 03:37:47 +00:00
Merge "Fix get_network_channel for BMCs that dislike 0xe"
This commit is contained in:
commit
b5b4e83a39
@ -841,8 +841,11 @@ class Command(object):
|
||||
try:
|
||||
# Some implementations denote an inactive channel
|
||||
# by refusing to do parameter retrieval
|
||||
self.xraw_command(
|
||||
netfn=0xc, command=2, data=(channel, 5, 0, 0))
|
||||
if channel != 0xe:
|
||||
# skip checking if channel is active if we are
|
||||
# actively using the channel
|
||||
self.xraw_command(
|
||||
netfn=0xc, command=2, data=(channel, 5, 0, 0))
|
||||
# If still here, the channel seems serviceable...
|
||||
# However some implementations may still have
|
||||
# ambiguous channel info, that will need to be
|
||||
|
Loading…
x
Reference in New Issue
Block a user