summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLarry Finger2014-05-26 21:06:06 +0200
committerGreg Kroah-Hartman2014-05-27 05:17:51 +0200
commit9c0b41d43d8c9c4b182cfb89dce29da6dd33692d (patch)
tree9ad81059ac6f4a99e4dd3c278519909091b630c6
parentstaging: r8192ee: Fix build errors when PCI is not available (diff)
downloadkernel-qcow2-linux-9c0b41d43d8c9c4b182cfb89dce29da6dd33692d.tar.gz
kernel-qcow2-linux-9c0b41d43d8c9c4b182cfb89dce29da6dd33692d.tar.xz
kernel-qcow2-linux-9c0b41d43d8c9c4b182cfb89dce29da6dd33692d.zip
staging: r8821ae: Fix potential problem with rate control registration
The zero day testing facility reported a problem with duplicate registration of the rate-control algorithm. Although not yet reported, this driver needs the same fix. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8821ae/rc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8821ae/rc.c b/drivers/staging/rtl8821ae/rc.c
index 0cc32c60ddee..a5a09baa99c5 100644
--- a/drivers/staging/rtl8821ae/rc.c
+++ b/drivers/staging/rtl8821ae/rc.c
@@ -286,7 +286,7 @@ static void rtl_rate_free_sta(void *rtlpriv,
}
static struct rate_control_ops rtl_rate_ops = {
- .name = "rtl_rc",
+ .name = "rtl_rc_21ae",
.alloc = rtl_rate_alloc,
.free = rtl_rate_free,
.alloc_sta = rtl_rate_alloc_sta,