mac80211: share STA information with driver
[safe/jmp/linux-2.6] / net / mac80211 / key.c
index d5b9574..57afcd3 100644 (file)
@@ -123,7 +123,7 @@ static const u8 *get_mac_for_key(struct ieee80211_key *key)
                addr = zero_addr;
 
        if (key->sta)
-               addr = key->sta->addr;
+               addr = key->sta->sta.addr;
 
        return addr;
 }