diff options
author | Johannes Berg <johannes.berg@intel.com> | 2014-01-20 23:29:34 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-02-04 21:48:21 +0100 |
commit | 631ad703ba3a585e96acbfd2ac8c0f0fee1ad99b (patch) | |
tree | 8c65d36d787a5ef4e2aa6e9ac7306e22349dfcb2 /net/mac80211/rc80211_minstrel.c | |
parent | mac80211: advertise BF STS according to AP support (diff) | |
download | linux-631ad703ba3a585e96acbfd2ac8c0f0fee1ad99b.tar.xz linux-631ad703ba3a585e96acbfd2ac8c0f0fee1ad99b.zip |
mac80211: make rate control ops const
Change the code to allow making all the rate control ops
const, nothing ever needs to change them. Also change all
drivers to make use of this and mark the ops const.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/rc80211_minstrel.c')
-rw-r--r-- | net/mac80211/rc80211_minstrel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/rc80211_minstrel.c b/net/mac80211/rc80211_minstrel.c index f3d88b0c054c..26fd94fa0aed 100644 --- a/net/mac80211/rc80211_minstrel.c +++ b/net/mac80211/rc80211_minstrel.c @@ -657,7 +657,7 @@ minstrel_free(void *priv) kfree(priv); } -struct rate_control_ops mac80211_minstrel = { +const struct rate_control_ops mac80211_minstrel = { .name = "minstrel", .tx_status = minstrel_tx_status, .get_rate = minstrel_get_rate, |