Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 27dc9c5a authored by Anirban Chakraborty's avatar Anirban Chakraborty Committed by James Bottomley
Browse files

qla2xxx: Fixed a bug in number of response queue creation logic.

parent 30c9afa6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1663,7 +1663,7 @@ qla2x00_iospace_config(struct qla_hw_data *ha)
		/* queue 0 uses two msix vectors */
		if (ql2xmultique_tag) {
			cpus = num_online_cpus();
			ha->max_rsp_queues = (ha->msix_count - 1 - cpus) ?
			ha->max_rsp_queues = (ha->msix_count - 1 > cpus) ?
				(cpus + 1) : (ha->msix_count - 1);
			ha->max_req_queues = 2;
		} else if (ql2xmaxqueues > 1) {