net/ena: fix checksum feature flag
authorMichal Krawczyk <mk@semihalf.com>
Mon, 8 Apr 2019 10:27:44 +0000 (12:27 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 12 Apr 2019 09:02:02 +0000 (11:02 +0200)
commitef538c1a7f565c9b58518375a500aa864445fd11
tree0c55673cf71c2a0e3acd4ca5ec708a22a75c3329
parent942d13e6e7d1511dd89b4352ab648e57ef934189
net/ena: fix checksum feature flag

The boolean value was assigned to Tx flag twice, so it could cause bug
whenever Rx checksum will not be supported and Tx will be.

Coverity issue: 336831
Fixes: 117ba4a60488 ("net/ena: get device info statically")

Signed-off-by: Michal Krawczyk <mk@semihalf.com>
drivers/net/ena/ena_ethdev.c