Catch up to ic_curchan changes by making the same change here that was made

in ipw(4) in the earlier ic_curchan mega commit.

Submitted by:	Øyvind Kolbu oyvind at kolbu dot ws
Tested by:	Stefan Ehmann shoesoft at gmx dot net
This commit is contained in:
John Baldwin 2005-08-17 14:08:52 +00:00
parent 2be2b2eab5
commit 45f3f78ced

View file

@ -1008,7 +1008,7 @@ iwi_fix_channel(struct ieee80211com *ic, struct mbuf *m)
#if IEEE80211_CHAN_MAX < 255
if (frm[2] <= IEEE80211_CHAN_MAX)
#endif
ic->ic_bss->ni_chan = &ic->ic_channels[frm[2]];
ic->ic_curchan = &ic->ic_channels[frm[2]];
frm += frm[1] + 2;
}