]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: use BIT_ULL in cfg80211_parse_mbssid_data()
authorLuca Coelho <luciano.coelho@intel.com>
Wed, 29 May 2019 12:25:29 +0000 (15:25 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 14 Jun 2019 13:46:33 +0000 (15:46 +0200)
commit01d5d1c942158f6027dd5436ca6da9a347094475
tree152848b5c9fa27179b1a18cbe984440db35caf7c
parentb8c7575565d62fe655bef5f21596b34c7b2851ea
cfg80211: use BIT_ULL in cfg80211_parse_mbssid_data()

The seen_indices variable is u64 and in other parts of the code we
assume mbssid_index_ie[2] can be up to 45, so we should use the 64-bit
versions of BIT, namely, BIT_ULL().

Reported-by: Dan Carpented <dan.carpenter@oracle.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/scan.c