Adding upstream version 2.4.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
7422bc4c2f
commit
3bbd99c56d
3 changed files with 13 additions and 2 deletions
|
@ -221,7 +221,12 @@ class Controller(stas.ControllerABC): # pylint: disable=too-many-instance-attri
|
|||
host_traddr=self.tid.host_traddr if self.tid.host_traddr else None,
|
||||
host_iface=host_iface,
|
||||
)
|
||||
self._ctrl.discovery_ctrl = self._discovery_ctrl
|
||||
try:
|
||||
self._ctrl.discovery_ctrl = self._discovery_ctrl
|
||||
except AttributeError:
|
||||
# Note: discovery_ctrl_set() is deprecated. We keep it
|
||||
# for backward compatibility with libnvme 1.11 and earlier.
|
||||
self._ctrl.discovery_ctrl_set(self._discovery_ctrl)
|
||||
|
||||
# Set the DHCHAP host key on the controller
|
||||
# NOTE that this may eventually have to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue