commit | 4557eaba13c2b9074c64e37bb93f77c4917a81b1 | [log] [tgz] |
---|---|---|
author | Arik Nemtsov <arik@wizery.com> | Sun Mar 01 18:24:57 2015 +0200 |
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | Thu Mar 12 09:57:39 2015 +0200 |
tree | 9ebe46936756a71808543a02a0af972d493b5d09 | |
parent | fcf23352e0ff500676ac4923c68c20a1fe55fb5e [diff] |
iwlwifi: don't allow the FW to return invalid ch indices If the FW returns an invalid channels count in response to an MCC request, make sure we don't reference invalid indices in the channels array. Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com> Reviewed-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>