diff options
| author | Johannes Berg <johannes.berg@intel.com> | 2019-02-11 16:03:12 +0100 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2019-02-11 16:54:08 +0100 |
| commit | 5d4071abd9a1e2b417beef31aaf7d45999e4882e (patch) | |
| tree | 7ec88dd513155a9f0e799873f073366d5dcc460d /tools/perf/scripts/python/bin | |
| parent | cfg80211: Use const more consistently in for_each_element macros (diff) | |
| download | linux-5d4071abd9a1e2b417beef31aaf7d45999e4882e.tar.gz linux-5d4071abd9a1e2b417beef31aaf7d45999e4882e.zip | |
cfg80211: fix and clean up cfg80211_gen_new_bssid()
Fix cfg80211_gen_new_bssid() to not rely on u64 modulo arithmetic,
which isn't needed since we really just want to mask there. Also,
clean it up to calculate the mask only once and use GENMASK_ULL()
instead of open-coding the mask calculation.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
