pcie: Fix incorrect write to the ari capability next function field
commitec70b46babac79efc249c8780cafeae97d1c3059
authorKnut Omang <knut.omang@oracle.com>
Sun, 24 Aug 2014 13:32:17 +0000 (24 15:32 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 24 Aug 2014 22:16:06 +0000 (25 00:16 +0200)
treebf139b24041c853a9e6e6b96171bb4260ed9b692
parentcec391d752801d1b8b30de2fb1b2dab29ad7e38c
pcie: Fix incorrect write to the ari capability next function field

PCI_ARI_CAP_NFN, a macro for reading next function was used instead of
the intended write.

Signed-off-by: Knut Omang <knut.omang@oracle.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci/pcie.c