mac80211: fix current vs. operating channel in preq/beacon
authorJohannes Berg <johannes.berg@intel.com>
Mon, 23 Jul 2012 12:53:27 +0000 (14:53 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 31 Jul 2012 14:18:56 +0000 (16:18 +0200)
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>

No differences found