mac80211: fix current vs. operating channel in preq/beacon
When sending probe requests, e.g. during software scanning,
these will go out on the *current* channel, so their IEs
need to be built from the current channel. At other times,
e.g. for beacons or probe request templates, the IEs will
be used on the *operating* channel and using the current
channel instead might result in errors.
Add the appropriate parameters to respect the difference.
Signed-off-by:
Johannes Berg <johannes.berg@intel.com>
Showing
- net/mac80211/cfg.c 14 additions, 6 deletionsnet/mac80211/cfg.c
- net/mac80211/ieee80211_i.h 5 additions, 2 deletionsnet/mac80211/ieee80211_i.h
- net/mac80211/mesh_plink.c 4 additions, 2 deletionsnet/mac80211/mesh_plink.c
- net/mac80211/mlme.c 3 additions, 1 deletionnet/mac80211/mlme.c
- net/mac80211/tx.c 3 additions, 3 deletionsnet/mac80211/tx.c
- net/mac80211/util.c 15 additions, 12 deletionsnet/mac80211/util.c
Loading
Please register or sign in to comment