]> git.karo-electronics.de Git - linux-beck.git/commit
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)
commitad2d223aa900179031feb40273881e212941573d
tree2d9a697ae91adb3460aabf32901e7108bdc8523f
parentb8dc1a35c88dddcf62ce7bc59a7ed4c38c2f7597
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>
net/mac80211/driver-ops.h
net/mac80211/iface.c
net/mac80211/main.c
net/mac80211/mesh.c
net/mac80211/pm.c