mac80211: share STA information with driver
This patch changes mac80211 to share some more data about stations with drivers. Should help iwlwifi and ath9k when they get around to updating, and might also help with implementing rate control algorithms without internals. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Cc: Sujith Manoharan <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
8aa21e6fd7
commit
17741cdc26
@@ -206,7 +206,8 @@ void ieee80211_debugfs_key_add(struct ieee80211_key *key)
|
||||
rcu_read_lock();
|
||||
sta = rcu_dereference(key->sta);
|
||||
if (sta)
|
||||
sprintf(buf, "../../stations/%s", print_mac(mac, sta->addr));
|
||||
sprintf(buf, "../../stations/%s",
|
||||
print_mac(mac, sta->sta.addr));
|
||||
rcu_read_unlock();
|
||||
|
||||
/* using sta as a boolean is fine outside RCU lock */
|
||||
|
Reference in New Issue
Block a user