mac80211: don't hang on to sched_scan_ies
authorJohannes Berg <johannes.berg@intel.com>
Tue, 4 Sep 2012 17:15:01 +0000 (19:15 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 6 Sep 2012 13:56:35 +0000 (15:56 +0200)
commit30dd3edf97abda301150c8cf26fed21e53e3a9ce
tree595b08d29e6b5c2358228783d5f825d6dc4f61cf
parent944b9e375d89271c39995d363f62cb91734fae5f
mac80211: don't hang on to sched_scan_ies

There's no need to keep a copy of the scheduled
scan IEs after the driver has been told, if it
requires a copy it must make one. Therefore, we
can move sched_scan_ies into the function.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ieee80211_i.h
net/mac80211/scan.c