cfg80211: refactor cfg80211_bss_update
authorSergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Fri, 26 Jul 2019 16:39:32 +0000 (16:39 +0000)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 29 Jul 2019 14:23:13 +0000 (16:23 +0200)
commit3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6
tree59b3caf719a31d0f9a63086d636242894979f9e0
parentae6fa4d5e94ea520506b691140ebcb5dc6bf0a17
cfg80211: refactor cfg80211_bss_update

This patch implements minor refactoring for cfg80211_bss_update function.
Code path for updating known BSS is extracted into dedicated
cfg80211_update_known_bss function.

Signed-off-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Link: https://lore.kernel.org/r/20190726163922.27509-2-sergey.matyukevich.os@quantenna.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/scan.c