ntb_transport: Pick an unused queue
authorThomas VanSelus <tvanselus@xes-inc.com>
Mon, 13 Feb 2017 22:46:26 +0000 (16:46 -0600)
committerJon Mason <jdmason@kudzu.us>
Fri, 17 Feb 2017 04:11:26 +0000 (23:11 -0500)
commit8fcd0950c021d7be8493280541332b924b9de962
treea6b78d724aad242a662b238c265c4e0751b38a82
parent9644347c5240d0ee3ba7472ef332aaa4ff4db398
ntb_transport: Pick an unused queue

Fix typo causing ntb_transport_create_queue to select the first
queue every time, instead of using the next free queue.

Signed-off-by: Thomas VanSelus <tvanselus@xes-inc.com>
Signed-off-by: Aaron Sierra <asierra@xes-inc.com>
Acked-by: Allen Hubbe <Allen.Hubbe@dell.com>
Fixes: fce8a7bb5 ("PCI-Express Non-Transparent Bridge Support")
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/ntb_transport.c