diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-02-07 15:30:37 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-02-15 03:41:34 -0500 |
commit | 18942d3be0e0e67aa40550ce3266e48b51845d52 (patch) | |
tree | 48d521b52e6626801796532cec9577f7b490ac7e /net | |
parent | cb145022c82bde532b386c7a6f1dcef1b2bca2e5 (diff) |
mac80211: fix ieee80211_change_chandef name
This should be called ieee80211_change_chanctx() since
it changes the channel context, not a chandef.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/mac80211/chan.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/mac80211/chan.c b/net/mac80211/chan.c index d91ccfcaa6d1..78dbb371f16e 100644 --- a/net/mac80211/chan.c +++ b/net/mac80211/chan.c | |||
@@ -9,7 +9,7 @@ | |||
9 | #include "ieee80211_i.h" | 9 | #include "ieee80211_i.h" |
10 | #include "driver-ops.h" | 10 | #include "driver-ops.h" |
11 | 11 | ||
12 | static void ieee80211_change_chandef(struct ieee80211_local *local, | 12 | static void ieee80211_change_chanctx(struct ieee80211_local *local, |
13 | struct ieee80211_chanctx *ctx, | 13 | struct ieee80211_chanctx *ctx, |
14 | const struct cfg80211_chan_def *chandef) | 14 | const struct cfg80211_chan_def *chandef) |
15 | { | 15 | { |
@@ -49,7 +49,7 @@ ieee80211_find_chanctx(struct ieee80211_local *local, | |||
49 | if (!compat) | 49 | if (!compat) |
50 | continue; | 50 | continue; |
51 | 51 | ||
52 | ieee80211_change_chandef(local, ctx, compat); | 52 | ieee80211_change_chanctx(local, ctx, compat); |
53 | 53 | ||
54 | return ctx; | 54 | return ctx; |
55 | } | 55 | } |
@@ -175,7 +175,7 @@ static void ieee80211_recalc_chanctx_chantype(struct ieee80211_local *local, | |||
175 | if (WARN_ON_ONCE(!compat)) | 175 | if (WARN_ON_ONCE(!compat)) |
176 | return; | 176 | return; |
177 | 177 | ||
178 | ieee80211_change_chandef(local, ctx, compat); | 178 | ieee80211_change_chanctx(local, ctx, compat); |
179 | } | 179 | } |
180 | 180 | ||
181 | static void ieee80211_unassign_vif_chanctx(struct ieee80211_sub_if_data *sdata, | 181 | static void ieee80211_unassign_vif_chanctx(struct ieee80211_sub_if_data *sdata, |