iwlwifi: mvm: combine scan size checks into a common function
authorLuciano Coelho <luciano.coelho@intel.com>
Fri, 27 Mar 2015 07:28:26 +0000 (10:28 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 29 Apr 2015 10:13:15 +0000 (13:13 +0300)
Instead of repeating the same code in 4 different places, combine the
comparisons into a new function.  Additionally, this change fixes UMAC
scans where the RRM IEs were not taken into consideration when
calculating the IE length.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>

No differences found