]> git.baikalelectronics.ru Git - kernel.git/commit
staging: r8192ee: Fix kernel WARN splat associated with rate control
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 26 May 2014 19:06:04 +0000 (14:06 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 03:17:51 +0000 (20:17 -0700)
commit6624c457d2b68349f494e6a218c87c705e8423c2
tree61d5840ed9d57c4b48ad474b80e9b5ebbb1e9d4e
parent4320cd176b482bbf4de68f48809fc3f7a29d5062
staging: r8192ee: Fix kernel WARN splat associated with rate control

The 0day kernel testing robot got the kernel warning caused by trying
to register a particular rate-control algorithm more than once. I believe
that the core already protects against a particular driver doing the
registration more than once, but an analysis of the code reveals that
the identical name is used for the rtlwifi drivers in the regular
wireless tree, and the staging drivers r8192ee and r8821ae. The fix
is to rename the algorithm used in r8192ee.

Reported-by: Jet Chen <jet.chen@intel.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Tested-by: Jet Chen <jet.chen@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192ee/rc.c