mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-10 23:29:46 +00:00
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>
This commit is contained in:
parent
cb145022c8
commit
18942d3be0
@ -9,7 +9,7 @@
|
|||||||
#include "ieee80211_i.h"
|
#include "ieee80211_i.h"
|
||||||
#include "driver-ops.h"
|
#include "driver-ops.h"
|
||||||
|
|
||||||
static void ieee80211_change_chandef(struct ieee80211_local *local,
|
static void ieee80211_change_chanctx(struct ieee80211_local *local,
|
||||||
struct ieee80211_chanctx *ctx,
|
struct ieee80211_chanctx *ctx,
|
||||||
const struct cfg80211_chan_def *chandef)
|
const struct cfg80211_chan_def *chandef)
|
||||||
{
|
{
|
||||||
@ -49,7 +49,7 @@ ieee80211_find_chanctx(struct ieee80211_local *local,
|
|||||||
if (!compat)
|
if (!compat)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
ieee80211_change_chandef(local, ctx, compat);
|
ieee80211_change_chanctx(local, ctx, compat);
|
||||||
|
|
||||||
return ctx;
|
return ctx;
|
||||||
}
|
}
|
||||||
@ -175,7 +175,7 @@ static void ieee80211_recalc_chanctx_chantype(struct ieee80211_local *local,
|
|||||||
if (WARN_ON_ONCE(!compat))
|
if (WARN_ON_ONCE(!compat))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
ieee80211_change_chandef(local, ctx, compat);
|
ieee80211_change_chanctx(local, ctx, compat);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ieee80211_unassign_vif_chanctx(struct ieee80211_sub_if_data *sdata,
|
static void ieee80211_unassign_vif_chanctx(struct ieee80211_sub_if_data *sdata,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user