net: hns3: fix wrong judgment condition issue
authorJijie Shao <shaojijie@huawei.com>
Thu, 7 Mar 2024 01:01:08 +0000 (09:01 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Mar 2024 12:01:32 +0000 (12:01 +0000)
commit07a1d6dc90baedcf5d713e2b003b9e387130ee30
tree95bc3575c96c9073098b38ebf5e2a1a8ad0b1001
parent147a1c06f4d13be1fb19ba9d03bf7fa37e4a27e1
net: hns3: fix wrong judgment condition issue

In hns3_dcbnl_ieee_delapp, should check ieee_delapp not ieee_setapp.
This path fix the wrong judgment.

Fixes: 0ba22bcb222d ("net: hns3: add support config dscp map to tc")
Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_dcbnl.c