diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-11-25 20:30:31 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-12-21 18:38:54 -0500 |
commit | 12375ef933fa8271396ed0c1e318cb1bd2e2689d (patch) | |
tree | b05ccc4573cb8f0a1b89edeeae7e6c5805f75f67 /net/mac80211/rx.c | |
parent | 47846c9b0c10808d9337d2e7d09361f3e0a0a71a (diff) | |
download | op-kernel-dev-12375ef933fa8271396ed0c1e318cb1bd2e2689d.zip op-kernel-dev-12375ef933fa8271396ed0c1e318cb1bd2e2689d.tar.gz |
mac80211: trace interface name
It's not all that useful to have the vif/sdata pointer,
we'd rather refer to the interfaces by their name.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r-- | net/mac80211/rx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index d0136e3..ebab696 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c @@ -1021,7 +1021,7 @@ static void ap_sta_ps_start(struct sta_info *sta) atomic_inc(&sdata->bss->num_sta_ps); set_sta_flags(sta, WLAN_STA_PS_STA); - drv_sta_notify(local, &sdata->vif, STA_NOTIFY_SLEEP, &sta->sta); + drv_sta_notify(local, sdata, STA_NOTIFY_SLEEP, &sta->sta); #ifdef CONFIG_MAC80211_VERBOSE_PS_DEBUG printk(KERN_DEBUG "%s: STA %pM aid %d enters power save mode\n", sdata->name, sta->sta.addr, sta->sta.aid); |