mac80211: assign bss_conf.bssid only once
Instead of checking every time bss_info_changed is called,
assign the pointer once depending on the interface type
and then leave it untouched until the interface type is
changed. This makes the ieee80211_bss_info_change_notify()
now a simple wrapper to call the driver only.
Signed-off-by:
Johannes Berg <johannes.berg@intel.com>
Showing
- net/mac80211/driver-ops.h 2 additions, 0 deletionsnet/mac80211/driver-ops.h
- net/mac80211/iface.c 7 additions, 0 deletionsnet/mac80211/iface.c
- net/mac80211/main.c 0 additions, 20 deletionsnet/mac80211/main.c
- net/mac80211/mesh.c 3 additions, 0 deletionsnet/mac80211/mesh.c
- net/mac80211/pm.c 3 additions, 0 deletionsnet/mac80211/pm.c
Loading
Please register or sign in to comment