diff options
| author | 2014-04-27 19:11:15 +0200 | |
|---|---|---|
| committer | 2014-05-03 20:21:59 -0400 | |
| commit | 7626e3d0d4731ccd3f556533b93c4cd3e8cbf5e6 (patch) | |
| tree | 2e18e19e5c86b0172963611aac2323fb0ab9e902 /scripts/patch-kernel | |
| parent | staging: rtl8188eu: Use USB subsystem functions to check endpoint type (diff) | |
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 <domdevlin@free.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
