Commit 662ecfc4 authored by Hao Lan's avatar Hao Lan Committed by Paolo Abeni
Browse files

net: hns3: fix missing features due to dev->features configuration too early



Currently, the netdev->features is configured in hns3_nic_set_features.
As a result, __netdev_update_features considers that there is no feature
difference, and the procedures of the real features are missing.

Fixes: 2a7556bb ("net: hns3: implement ndo_features_check ops for hns3 driver")
Signed-off-by: default avatarHao Lan <lanhao@huawei.com>
Signed-off-by: default avatarJian Shen <shenjian15@huawei.com>
Signed-off-by: default avatarJijie Shao <shaojijie@huawei.com>
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent 3e0f7cc8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment