Commit 9c0b41d4 authored by Larry Finger's avatar Larry Finger Committed by Greg Kroah-Hartman

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: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 42e4c20f
...@@ -286,7 +286,7 @@ static void rtl_rate_free_sta(void *rtlpriv, ...@@ -286,7 +286,7 @@ static void rtl_rate_free_sta(void *rtlpriv,
} }
static struct rate_control_ops rtl_rate_ops = { static struct rate_control_ops rtl_rate_ops = {
.name = "rtl_rc", .name = "rtl_rc_21ae",
.alloc = rtl_rate_alloc, .alloc = rtl_rate_alloc,
.free = rtl_rate_free, .free = rtl_rate_free,
.alloc_sta = rtl_rate_alloc_sta, .alloc_sta = rtl_rate_alloc_sta,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment