chiark / gitweb /
path_id: fix loop for SAS devices
authorKay Sievers <kay.sievers@suse.de>
Thu, 13 Apr 2006 07:44:07 +0000 (09:44 +0200)
committerKay Sievers <kay.sievers@suse.de>
Thu, 13 Apr 2006 07:44:07 +0000 (09:44 +0200)
extras/path_id/path_id

index 0274be3..3f8efd6 100755 (executable)
@@ -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