]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit98ed01797080e13870d3d458c0c8c4507029621d
treef625e850fe4b062e148110bd5f63f3f9a5b605bf
parente85181013785889e7aa484b75e698fbf4c3f8d4c
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