cfg80211: clean up variable use in cfg80211_parse_colocated_ap()
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 8 May 2021 13:03:51 +0000 (16:03 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 23 Jun 2021 08:59:08 +0000 (10:59 +0200)
commit5b5c9f3bd5f3d726d07ab8e4776d241863963a6e
tree062c972454b4fae3474417a44166ab5708a356ee
parent21b7805434f6598eaf70329f78cf3da0bd4aa3e9
cfg80211: clean up variable use in cfg80211_parse_colocated_ap()

The "ap_info->tbtt_info_len" and "length" variables are the same value
but it is confusing how the names are mixed up.  Let's use "length"
everywhere for consistency.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/YJaMNzZENkYFAYQX@mwanda
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/scan.c