net: fec: validate the new settings in fec_enet_set_coalesce()
fec_enet_set_coalesce() validates the previously set params
and if they are within range proceeds to apply the new ones.
The new ones, however, are not validated. This seems backwards,
probably a copy-paste error?
Compile tested only.
Fixes: d851b47b22fc ("net: fec: add interrupt coalescence feature support")
Signed-off-by: Jakub Kicinski <firstname.lastname@example.org>
Acked-by: Fugang Duan <email@example.com>
Signed-off-by: David S. Miller <firstname.lastname@example.org>
1 file changed