net: hns3: fix getting supported parameter from driver in hclge_set_wol
driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I65FSF CVE: NA ---------------------------------------------------------------------- The driver should use the supported parameter got from firmware, not from user,to validate the wol mode. Fixes: c3c5f044 ("net: hns3: support wake on lan configuration and query") Signed-off-by: NHao Lan <lanhao@huawei.com> Signed-off-by: NJiantao Xiao <xiaojiantao1@h-partners.com>
Showing
想要评论请 注册 或 登录