From: Ivan Vecera Date: Mon, 8 Sep 2014 16:46:53 +0000 (+0200) Subject: net/mlx4_en: do not ignore autoneg in mlx4_en_set_pauseparam() X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitdiff_plain;h=f43a81763f525db5509177e36e04a6927a80c14e;hp=f43a81763f525db5509177e36e04a6927a80c14e net/mlx4_en: do not ignore autoneg in mlx4_en_set_pauseparam() commit 278d436a476f69fc95d5c82bf61b6c2d02f4d44e upstream. The driver does not support pause autonegotiation so it should return -EINVAL when the function is called with non-zero autoneg. Cc: Amir Vadai Signed-off-by: Ivan Vecera Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings ---