commit | eb2ec0fb3c2fe85d42b2d5131e526daa0e298b9e | [log] [tgz] |
---|---|---|
author | Stanislaw Gruszka <sgruszka@redhat.com> | Fri Apr 16 15:46:41 2010 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Fri Apr 16 15:47:15 2010 -0400 |
tree | d40bf385d54cd7899543dbbac1518d0b34762665 | |
parent | a02a2956809d88b42b9a1f8003d60a343353b5ea [diff] |
iwlwifi: check scan request ie_len In mac80211 we always check both scan_req->ie and scan_req->ie_len against zero before usage, in iwlwifi we should do the same. Remove not needed "left -= ie_len" while at it. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Acked-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>