nvme-auth: don't re-authenticate if the controller is not LIVE
authorSagi Grimberg <sagi@grimberg.me>
Sun, 13 Nov 2022 11:24:08 +0000 (13:24 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 16 Nov 2022 07:36:34 +0000 (08:36 +0100)
commitc7390f132a896ff1a3fa26ea2b0be4f9ceb9041e
tree7a9796eb0b9ae1d07822106c9c571178d7781269
parent100b555bc204fc754108351676297805f5affa49
nvme-auth: don't re-authenticate if the controller is not LIVE

The connect sequence will re-authenticate.

Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/auth.c