diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-10-05 13:39:30 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-10-06 16:30:40 -0400 |
commit | e31b82136d1adc7a599b6e99d3321e5831841f5a (patch) | |
tree | c72d78d4cccfd08587e909c7efe59956f1cbc23e /drivers/net/wireless/libertas | |
parent | 53f73c09d64f1fa7d7e6e8b6bb7468d42eddc92d (diff) |
cfg80211/mac80211: allow per-station GTKs
This adds API to allow adding per-station GTKs,
updates mac80211 to support it, and also allows
drivers to remove a key from hwaccel again when
this may be necessary due to multiple GTKs.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas')
-rw-r--r-- | drivers/net/wireless/libertas/cfg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas/cfg.c b/drivers/net/wireless/libertas/cfg.c index cb3b855d949..1dc44bc6511 100644 --- a/drivers/net/wireless/libertas/cfg.c +++ b/drivers/net/wireless/libertas/cfg.c | |||
@@ -1438,7 +1438,7 @@ static int lbs_cfg_set_default_key(struct wiphy *wiphy, | |||
1438 | 1438 | ||
1439 | 1439 | ||
1440 | static int lbs_cfg_add_key(struct wiphy *wiphy, struct net_device *netdev, | 1440 | static int lbs_cfg_add_key(struct wiphy *wiphy, struct net_device *netdev, |
1441 | u8 idx, const u8 *mac_addr, | 1441 | u8 idx, bool pairwise, const u8 *mac_addr, |
1442 | struct key_params *params) | 1442 | struct key_params *params) |
1443 | { | 1443 | { |
1444 | struct lbs_private *priv = wiphy_priv(wiphy); | 1444 | struct lbs_private *priv = wiphy_priv(wiphy); |
@@ -1498,7 +1498,7 @@ static int lbs_cfg_add_key(struct wiphy *wiphy, struct net_device *netdev, | |||
1498 | 1498 | ||
1499 | 1499 | ||
1500 | static int lbs_cfg_del_key(struct wiphy *wiphy, struct net_device *netdev, | 1500 | static int lbs_cfg_del_key(struct wiphy *wiphy, struct net_device *netdev, |
1501 | u8 key_index, const u8 *mac_addr) | 1501 | u8 key_index, bool pairwise, const u8 *mac_addr) |
1502 | { | 1502 | { |
1503 | 1503 | ||
1504 | lbs_deb_enter(LBS_DEB_CFG80211); | 1504 | lbs_deb_enter(LBS_DEB_CFG80211); |