ath9k: Move beacon config to channel context
Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
8d7e09dda8
commit
ca900ac9d9
@@ -271,7 +271,6 @@ void ath_chanctx_init(struct ath_softc *sc)
|
||||
for (j = 0; j < ARRAY_SIZE(ctx->acq); j++)
|
||||
INIT_LIST_HEAD(&ctx->acq[j]);
|
||||
}
|
||||
sc->cur_chan = &sc->chanctx[0];
|
||||
ctx = &sc->offchannel.chan;
|
||||
cfg80211_chandef_create(&ctx->chandef, chan, NL80211_CHAN_HT20);
|
||||
INIT_LIST_HEAD(&ctx->vifs);
|
||||
|
Reference in New Issue
Block a user