Arik Nemtsov d811b3d556 mac80211: fix invalid band deref building preq IEs
The function building probe-request IEs does not validate the band is
supported before dereferencing it. This can result in a panic when
all bands are traversed, as done during sched-scan start.

Warn when this happens and return an empty probe request. Also fix
sched-scan to not waste memory on unsupported bands.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2012-07-12 12:10:42 +02:00
..
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:20 -04:00
2012-06-24 11:32:29 +02:00
2012-07-12 12:10:41 +02:00
2012-06-24 11:33:18 +02:00
2012-06-24 11:32:29 +02:00
2012-07-03 13:50:34 +02:00
2009-07-10 15:01:49 -04:00
2012-06-24 11:32:29 +02:00
2012-06-24 11:32:29 +02:00
2012-06-24 11:33:18 +02:00
2012-07-09 14:49:15 +02:00
2012-06-24 11:32:38 +02:00
2012-06-24 11:32:29 +02:00
2012-06-24 11:32:29 +02:00
2012-06-24 11:32:29 +02:00
2012-06-24 11:32:29 +02:00
2012-07-09 14:49:11 +02:00
2011-03-31 11:26:23 -03:00
2012-07-09 14:51:47 +02:00
2012-06-24 11:32:29 +02:00
2012-06-12 13:56:41 +02:00
2012-06-22 11:26:58 +02:00
2012-06-24 11:33:18 +02:00
2012-07-03 13:50:34 +02:00
2012-07-03 13:48:37 +02:00
2012-03-13 14:54:16 -04:00
2012-06-20 17:35:22 +02:00
2012-06-20 17:35:22 +02:00