net/bnxt: fix big endian build
authorSomnath Kotur <somnath.kotur@broadcom.com>
Wed, 10 Apr 2019 09:16:22 +0000 (14:46 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 12 Apr 2019 09:02:02 +0000 (11:02 +0200)
commit13856b795362e11c1db20c1a134680653144bd1a
treebf781b01b6754a9a016fdb19d0d06adc8dd64723
parent6e54c8ac5c15935d42d47950a55406c7f5517117
net/bnxt: fix big endian build

The result of the endian conversion was not being used incorrectly.

Fixes: b11cceb83a34 ("net/bnxt: support timesync")
Cc: stable@dpdk.org
Reported-by: Thomas Monjalon <thomas@monjalon.net>
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
drivers/net/bnxt/bnxt_ethdev.c