summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/if_ath.c
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2011-11-08 19:25:52 +0000
committeradrian <adrian@FreeBSD.org>2011-11-08 19:25:52 +0000
commit227a997065ce535f302d1760083cb123c5241787 (patch)
tree0c82dacb62c698c3b1e21f1b6263c2271fc9f020 /sys/dev/ath/if_ath.c
parent7464bb4495c95c7b286eeefc13e2aa2609666640 (diff)
downloadFreeBSD-src-227a997065ce535f302d1760083cb123c5241787.zip
FreeBSD-src-227a997065ce535f302d1760083cb123c5241787.tar.gz
Add a 'vap' to ath_keyset().
Add some code (which is currently disabled) which modifies the group multicast key cache behaviour. I haven't yet figured out what the exact/correct behaviour is so I'm leaving it disabled. It's worth investigating and "correcting", especially for future work with mesh/ibss and encryption. Sponsored by: Hobnob, Inc.
Diffstat (limited to 'sys/dev/ath/if_ath.c')
-rw-r--r--sys/dev/ath/if_ath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index 12f7261..10bb512 100644
--- a/sys/dev/ath/if_ath.c
+++ b/sys/dev/ath/if_ath.c
@@ -5165,7 +5165,7 @@ ath_setup_stationkey(struct ieee80211_node *ni)
ni->ni_ucastkey.wk_flags |= IEEE80211_KEY_DEVKEY;
IEEE80211_ADDR_COPY(ni->ni_ucastkey.wk_macaddr, ni->ni_macaddr);
/* NB: this will create a pass-thru key entry */
- ath_keyset(sc, &ni->ni_ucastkey, vap->iv_bss);
+ ath_keyset(sc, vap, &ni->ni_ucastkey, vap->iv_bss);
}
}
OpenPOWER on IntegriCloud