From: Dominique van den Broeck Date: Sun, 27 Apr 2014 17:11:15 +0000 (+0200) Subject: staging/rtl8192e: Erroneous return codes (types and values) X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~1033 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7626e3d0d4731ccd3f556533b93c4cd3e8cbf5e6;p=pandora-kernel.git staging/rtl8192e: Erroneous return codes (types and values) This function returns a bool, that is supposed to be false when something goes wrong. It's assumed this way by its lone calling function (which is SetRFPowerState8190(), line 1445 of rtl8192e/rtl8192e/r8192E_phy.c) Despite of this, this procedure returns non-null enumerations values or negative codes instead. This patch fixes this. Signed-off-by: Dominique van den Broeck Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed