projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mac80211: remove module handling from rate control ops
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
net
/
wireless
/
iwlegacy
/
3945-rs.c
diff --git
a/drivers/net/wireless/iwlegacy/3945-rs.c
b/drivers/net/wireless/iwlegacy/3945-rs.c
index 9a45f6f626f69633c938bd386242cdacff6496e7..76b0729ade17ee2d18cc42df934f286762c2c155 100644
(file)
--- a/
drivers/net/wireless/iwlegacy/3945-rs.c
+++ b/
drivers/net/wireless/iwlegacy/3945-rs.c
@@
-891,8
+891,7
@@
il3945_rs_rate_init_stub(void *il_r, struct ieee80211_supported_band *sband,
{
}
-static struct rate_control_ops rs_ops = {
- .module = NULL,
+static const struct rate_control_ops rs_ops = {
.name = RS_NAME,
.tx_status = il3945_rs_tx_status,
.get_rate = il3945_rs_get_rate,