mac80211: assign bss_conf.bssid only once
authorJohannes Berg <johannes.berg@intel.com>
Fri, 14 Dec 2012 13:34:25 +0000 (14:34 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 3 Jan 2013 12:01:37 +0000 (13:01 +0100)
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>
net/mac80211/driver-ops.h
net/mac80211/iface.c
net/mac80211/main.c
net/mac80211/mesh.c
net/mac80211/pm.c

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge