path_id: fix loop for SAS devices

This commit is contained in:
Kay Sievers
2006-04-13 09:44:07 +02:00
parent ff9a488d8c
commit 0c4a805bcc
+1 -1
View File
@@ -244,7 +244,7 @@ handle_sas () {
return
fi
sas_phy_address="$phy_address:$phy_port:$phy_id"
sas_rphy_dev="${sas_host_path}/${sas_phy_id}/${sas_rphy_id}/sas_rphy:${sas_rphy_id}"
sas_rphy_dev="${sas_host_path}/${sas_phy_path}/sas_rphy:${sas_rphy_id}"
if [ -e "$sas_rphy_dev/sas_address" ]; then
read rphy_address < $sas_rphy_dev/sas_address
read rphy_id < $sas_rphy_dev/phy_identifier