]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2ee66e24d8ebe1d1a464b55a4377f2412b454ff4
treed259001a7b7c4963de72cd6b3b9bf8d350d2f1c8
parent948f2ae7ae49b615f356514593206c9134c41ebe
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>
net/mac80211/cfg.c
net/mac80211/ieee80211_i.h
net/mac80211/mesh_plink.c
net/mac80211/mlme.c
net/mac80211/tx.c
net/mac80211/util.c