Add missing parentheses.

Found by:	PVS-Studio
This commit is contained in:
kevlo 2016-02-19 01:56:59 +00:00
parent 32d1c3375a
commit 2c479e8390

View File

@ -6311,7 +6311,7 @@ ixl_vf_config_promisc_msg(struct ixl_pf *pf, struct ixl_vf *vf,
return;
}
if (!vf->vf_flags & VF_FLAG_PROMISC_CAP) {
if (!(vf->vf_flags & VF_FLAG_PROMISC_CAP)) {
i40e_send_vf_nack(pf, vf,
I40E_VIRTCHNL_OP_CONFIG_PROMISCUOUS_MODE, I40E_ERR_PARAM);
return;