mac80211: fix-up build breakage in 2.6.33
authorJohn W. Linville <linville@tuxdriver.com>
Wed, 6 Jan 2010 20:35:49 +0000 (15:35 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 6 Jan 2010 20:35:49 +0000 (15:35 -0500)
"mac80211: fix skb buffering issue" is based on what will become 2.6.34,
so it includes an incompatible usage of sta_info_get.  This patch will
need to be effectively reverted when merging for 2.6.34.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/wme.c

index 34e6d02da779f89731a33261745eea8949d14490..79d887dae7381b841d6ca8ea25ddf9694e6ba768 100644 (file)
@@ -96,7 +96,7 @@ u16 ieee80211_select_queue(struct ieee80211_sub_if_data *sdata,
        }
 
        if (!sta && ra && !is_multicast_ether_addr(ra)) {
-               sta = sta_info_get(sdata, ra);
+               sta = sta_info_get(local, ra);
                if (sta)
                        sta_flags = get_sta_flags(sta);
        }