commit | fd659f8e75b7f8214b4f323d46248205b4566e10 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Wed Aug 03 13:52:56 2016 +0200 |
committer | Luca Coelho <luciano.coelho@intel.com> | Fri Sep 16 09:10:35 2016 +0300 |
tree | ddcd6755b4fa342cd750c05ac299f05da2d27fff | |
parent | 9b8568360585854c4fe99572e4fbffc736706cfd [diff] |
iwlwifi: mvm: tighten BAID range check As pointed out by smatch, checking the BAID for just >= INVALID is a bad idea since only 32 (IWL_MAX_BAID) actually exist. Check the range for that and print invalid ones in the warning. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>