diff options
author | Johannes Berg <johannes.berg@intel.com> | 2014-01-21 02:29:34 +0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-02-05 00:48:21 +0400 |
commit | 631ad703ba3a585e96acbfd2ac8c0f0fee1ad99b (patch) | |
tree | 8c65d36d787a5ef4e2aa6e9ac7306e22349dfcb2 /net/mac80211/rate.h | |
parent | c1cf6d4e6f17406c4fd7b0f4fae779fa61666cc3 (diff) | |
download | linux-631ad703ba3a585e96acbfd2ac8c0f0fee1ad99b.tar.xz |
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/rate.h')
-rw-r--r-- | net/mac80211/rate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/rate.h b/net/mac80211/rate.h index b95e16c07081..9aa2a1190a86 100644 --- a/net/mac80211/rate.h +++ b/net/mac80211/rate.h @@ -21,7 +21,7 @@ struct rate_control_ref { struct ieee80211_local *local; - struct rate_control_ops *ops; + const struct rate_control_ops *ops; void *priv; }; |