net/avp: fix interrupt migration check
authorFerruh Yigit <ferruh.yigit@intel.com>
Fri, 28 Apr 2017 06:49:03 +0000 (07:49 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 28 Apr 2017 12:46:19 +0000 (14:46 +0200)
commitf353fbc5961e77858795ba7daeaa3fefb7aedbe6
treea86ebe366ed0fac07f272ed5fd0967ed2dcd1ee7
parentcec7ddd29015b4faf364cba64129dfaed8408c24
net/avp: fix interrupt migration check

Bitwise OR within if statement is always true, fix bitwise operator.

Coverity issue: 1423906
Fixes: 82e140b84995 ("net/avp: handle interrupt migration")

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Allain Legacy <allain.legacy@windriver.com>
drivers/net/avp/avp_ethdev.c