wil6210: reject unsupported coalescing params
Set ethtool_ops->supported_coalesce_params to let the core reject unsupported coalescing parameters. This driver did not previously reject unsupported parameters. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Acked-by: Kalle Valo <kvalo@codeaurora.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
35fa705665
commit
fad99303f0
@ -95,6 +95,7 @@ out_bad:
|
||||
}
|
||||
|
||||
static const struct ethtool_ops wil_ethtool_ops = {
|
||||
.supported_coalesce_params = ETHTOOL_COALESCE_USECS,
|
||||
.get_drvinfo = cfg80211_get_drvinfo,
|
||||
.get_coalesce = wil_ethtoolops_get_coalesce,
|
||||
.set_coalesce = wil_ethtoolops_set_coalesce,
|
||||
|
Loading…
x
Reference in New Issue
Block a user