From: Kalesh AP Date: Thu, 17 Jul 2014 10:50:24 +0000 (+0530) Subject: be2net: fix return status of some ndo methods X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~131^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abccf23e3eebcd5b7b0ad5d2ad6d1f6d81af6b47;p=pandora-kernel.git be2net: fix return status of some ndo methods The netlink layer expects a -ve status value to be returned when a driver ndo method encounters an error. The driver was directly passing the error status returned by FW (a positive value) to the stack. This patch fixes this by returning -EIO status when a FW-cmd reports an error. Signed-off-by: Kalesh AP Signed-off-by: Sathya Perla Signed-off-by: David S. Miller --- Reading git-diff-tree failed