diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-12-09 19:49:02 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-12-13 15:23:29 -0500 |
commit | f7e0104c1a4e77cc4f23d5969b0677bdc4f62c63 (patch) | |
tree | 6d1622ec2f6152b611867df1b7a0269471655b53 /net/mac80211/main.c | |
parent | dbd2fd656f2060abfd3a16257f8b51ec60f6d2ed (diff) | |
download | op-kernel-dev-f7e0104c1a4e77cc4f23d5969b0677bdc4f62c63.zip op-kernel-dev-f7e0104c1a4e77cc4f23d5969b0677bdc4f62c63.tar.gz |
mac80211: support separate default keys
Add support for split default keys (unicast
and multicast) in mac80211.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r-- | net/mac80211/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 973fee9..ae656b6 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c @@ -519,7 +519,8 @@ struct ieee80211_hw *ieee80211_alloc_hw(size_t priv_data_len, wiphy->flags |= WIPHY_FLAG_NETNS_OK | WIPHY_FLAG_4ADDR_AP | - WIPHY_FLAG_4ADDR_STATION; + WIPHY_FLAG_4ADDR_STATION | + WIPHY_FLAG_SUPPORTS_SEPARATE_DEFAULT_KEYS; wiphy->privid = mac80211_wiphy_privid; wiphy->bss_priv_size = sizeof(struct ieee80211_bss); |