diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/recv.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/recv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c index c880a55939bf..355dd1834e1d 100644 --- a/drivers/net/wireless/ath/ath9k/recv.c +++ b/drivers/net/wireless/ath/ath9k/recv.c | |||
@@ -202,7 +202,8 @@ static int ath_rx_prepare(struct sk_buff *skb, struct ath_desc *ds, | |||
202 | } | 202 | } |
203 | 203 | ||
204 | rcu_read_lock(); | 204 | rcu_read_lock(); |
205 | sta = ieee80211_find_sta(sc->hw, hdr->addr2); | 205 | /* XXX: use ieee80211_find_sta! */ |
206 | sta = ieee80211_find_sta_by_hw(sc->hw, hdr->addr2); | ||
206 | if (sta) { | 207 | if (sta) { |
207 | an = (struct ath_node *) sta->drv_priv; | 208 | an = (struct ath_node *) sta->drv_priv; |
208 | if (ds->ds_rxstat.rs_rssi != ATH9K_RSSI_BAD && | 209 | if (ds->ds_rxstat.rs_rssi != ATH9K_RSSI_BAD && |