]> err.no Git - linux-2.6/blobdiff - drivers/scsi/iscsi_tcp.c
ALSA: wm8750: add missing VREF output
[linux-2.6] / drivers / scsi / iscsi_tcp.c
index 7c4ee39a1c4382cc9035bc61c6afa2472b89c419..2a2f0094570fb0d1dfb78eeb34bcf89b47d9aa75 100644 (file)
@@ -1864,8 +1864,7 @@ iscsi_tcp_session_create(struct iscsi_endpoint *ep, uint16_t cmds_max,
        shost->max_lun = iscsi_max_lun;
        shost->max_id = 0;
        shost->max_channel = 0;
-       shost->max_cmd_len = 16;
-       shost->can_queue = cmds_max;
+       shost->max_cmd_len = SCSI_MAX_VARLEN_CDB_SIZE;
 
        if (iscsi_host_add(shost, NULL))
                goto free_host;