net/qede/base: fix incorrect typecasting of flag
authorRasesh Mody <rasesh.mody@cavium.com>
Sat, 18 Mar 2017 06:48:36 +0000 (23:48 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 16:59:43 +0000 (18:59 +0200)
commitd4806aba9b8ec552fb711a794e34c847c5a7b252
treeb2b6c9c477e1bf323c5cc2dd6cecad96228e59b5
parent5688520075b5cdbcb568994b2d1361aeab565986
net/qede/base: fix incorrect typecasting of flag

dcbx-update-flag is incorrectly converted to boolean before assigining
it to ramrod data, fix this typecasting. Also, added more debug
messages in the dcbx code paths.

Fixes: 26ae839d06e9 ("qede: add DCBX support")

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/ecore_dcbx.c