cfg80211.c (aaccf3c97418f169afdbb5855e9cbcbda34e90fd) cfg80211.c (3152a974678a1e80c3c16d4b86522ecc500be529)
1/*
2 * Copyright (c) 2004-2011 Atheros Communications Inc.
3 * Copyright (c) 2011-2012 Qualcomm Atheros, Inc.
4 *
5 * Permission to use, copy, modify, and/or distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *

--- 1308 unchanged lines hidden (view full) ---

1317 struct net_device *ndev,
1318 u8 key_index, bool unicast,
1319 bool multicast)
1320{
1321 struct ath6kl *ar = ath6kl_priv(ndev);
1322 struct ath6kl_vif *vif = netdev_priv(ndev);
1323 struct ath6kl_key *key = NULL;
1324 u8 key_usage;
1/*
2 * Copyright (c) 2004-2011 Atheros Communications Inc.
3 * Copyright (c) 2011-2012 Qualcomm Atheros, Inc.
4 *
5 * Permission to use, copy, modify, and/or distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *

--- 1308 unchanged lines hidden (view full) ---

1317 struct net_device *ndev,
1318 u8 key_index, bool unicast,
1319 bool multicast)
1320{
1321 struct ath6kl *ar = ath6kl_priv(ndev);
1322 struct ath6kl_vif *vif = netdev_priv(ndev);
1323 struct ath6kl_key *key = NULL;
1324 u8 key_usage;
1325 enum crypto_type key_type = NONE_CRYPT;
1325 enum ath6kl_crypto_type key_type = NONE_CRYPT;
1326
1327 ath6kl_dbg(ATH6KL_DBG_WLAN_CFG, "%s: index %d\n", __func__, key_index);
1328
1329 if (!ath6kl_cfg80211_ready(vif))
1330 return -EIO;
1331
1332 if (key_index > WMI_MAX_KEY_INDEX) {
1333 ath6kl_dbg(ATH6KL_DBG_WLAN_CFG,

--- 2706 unchanged lines hidden ---
1326
1327 ath6kl_dbg(ATH6KL_DBG_WLAN_CFG, "%s: index %d\n", __func__, key_index);
1328
1329 if (!ath6kl_cfg80211_ready(vif))
1330 return -EIO;
1331
1332 if (key_index > WMI_MAX_KEY_INDEX) {
1333 ath6kl_dbg(ATH6KL_DBG_WLAN_CFG,

--- 2706 unchanged lines hidden ---