]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc05d9ad3a5fb3e217fa7863d164f7a78c67bc57c
tree062c972454b4fae3474417a44166ab5708a356ee
parent63e00de3f013e3e1f899525c0869d1fd3ca80bab
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