staging: r8821ae: Fix potential problem with rate control registration
authorLarry Finger <Larry.Finger@lwfinger.net>
Mon, 26 May 2014 19:06:06 +0000 (14:06 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 03:17:51 +0000 (20:17 -0700)
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>
drivers/staging/rtl8821ae/rc.c

index 0cc32c6..a5a09ba 100644 (file)
@@ -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,