mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-20 20:21:30 +00:00
scst_local: Fix unique per session sas address (merge r5960 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6074 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -229,7 +229,7 @@ static int scst_local_get_sas_transport_id(struct scst_local_sess *sess,
|
||||
tr_id[5] = 0xEE;
|
||||
tr_id[6] = 0xDE;
|
||||
tr_id[7] = 0x40 | ((sess->number >> 4) & 0x0F);
|
||||
tr_id[8] = 0x0F | (sess->number & 0xF0);
|
||||
tr_id[8] = 0x0F | ((sess->number & 0x0F) << 4);
|
||||
tr_id[9] = 0xAD;
|
||||
tr_id[10] = 0xE0;
|
||||
tr_id[11] = 0x50;
|
||||
|
||||
Reference in New Issue
Block a user