There are certain skews of the NIC which have multiple bits set in
adapter->cap.  Use & instead of == to process rx completions.
Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
 
        /* vlanf could be wrongly set in some cards.
         * ignore if vtm is not set */
-       if ((adapter->cap == 0x400) && !vtm)
+       if ((adapter->cap & 0x400) && !vtm)
                vlanf = 0;
 
        skb = netdev_alloc_skb_ip_align(adapter->netdev, BE_HDR_LEN);
 
        /* vlanf could be wrongly set in some cards.
         * ignore if vtm is not set */
-       if ((adapter->cap == 0x400) && !vtm)
+       if ((adapter->cap & 0x400) && !vtm)
                vlanf = 0;
 
        skb = napi_get_frags(&eq_obj->napi);