mac80211: init sched_scan_ies
authorDavid Spinadel <david.spinadel@intel.com>
Mon, 29 Oct 2012 12:49:41 +0000 (14:49 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 31 Oct 2012 16:04:18 +0000 (17:04 +0100)
commitbca1e29fb54c51856dda6772d488d41b10ed91da
treedc1d5b559c9f109a1c5fdcb45a59621b2c8acebc
parent35f5149ead73e8e635b417b6c3aece43ffdfe5bc
mac80211: init sched_scan_ies

In case that there is an unsupported band, the ie will be
unallocated and the free will crash.

Cc: stable@vger.kernel.org
Signed-off-by: David Spinadel <david.spinadel@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/scan.c