[PATCH] vxge: Fix rts_mac_en config parameter check

2017-09-24 Thread Christos Gkekas
Current checks return VXGE_HW_BADCFG_RTS_MAC_EN if rts_mac_en is not equal to DISABLE *and* not equal to ENABLE. This condition is always false and the check should change to *or* to properly verify the value. Signed-off-by: Christos Gkekas --- drivers/net/ethernet/neterion/vxge/vxge-config.c |

Re: [PATCH] vxge: Fix rts_mac_en config parameter check

2017-09-24 Thread Christos Gkekas
On 24/09/17 19:50:21 +0100, Christos Gkekas wrote: > Current checks return VXGE_HW_BADCFG_RTS_MAC_EN if rts_mac_en is not > equal to DISABLE *and* not equal to ENABLE. This condition is always > false and the check should change to *or* to properly verify the value. > > Signed-off-by: Christos Gke