diff --git a/include/scsi/libsas.h b/include/scsi/libsas.h index 258d5d8c71c8a61d7b78421354047b17680fbde9..15a2c83ae48e7fa29b62be42aee5a7ebb185fa64 100644 --- a/include/scsi/libsas.h +++ b/include/scsi/libsas.h @@ -449,6 +449,9 @@ static inline void sas_phy_disconnected(struct asd_sas_phy *phy) { phy->oob_mode = OOB_NOT_CONNECTED; phy->linkrate = SAS_LINK_RATE_UNKNOWN; + + if (phy->phy) + phy->phy->negotiated_linkrate = SAS_LINK_RATE_UNKNOWN; } static inline unsigned int to_sas_gpio_od(int device, int bit)