mac80211: use ifmgd->bssid instead of ifmgd->associated->bssid
authorJohannes Berg <johannes.berg@intel.com>
Fri, 13 May 2022 13:48:05 +0000 (15:48 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 16 May 2022 07:13:22 +0000 (09:13 +0200)
commitc8fe4b0b37f631284a447f4819231893ef4cbbaa
treef625e850fe4b062e148110bd5f63f3f9a5b605bf
parentf344c58c250d68c08e8b765a8c995a957ba28ced
mac80211: use ifmgd->bssid instead of ifmgd->associated->bssid

Since we always track the BSSID there when we get associated,
these are equivalent, but ifmgd->bssid saves a dereference and
thus makes the code a bit smaller, and more readable.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/debugfs_netdev.c
net/mac80211/main.c
net/mac80211/mlme.c
net/mac80211/offchannel.c