Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 327454
b: refs/heads/master
c: 9d7aba6
h: refs/heads/master
v: v3
  • Loading branch information
Ying Luo authored and John W. Linville committed Aug 6, 2012
1 parent 9ee45d3 commit 191b6b4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3e238a1167cc5693a0d97b946100d74d75b72680
refs/heads/master: 9d7aba63c8630c1fdd7cb321d979c757a1abd20f
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/mwifiex/ioctl.h
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ struct mwifiex_debug_info {
};

#define MWIFIEX_KEY_INDEX_UNICAST 0x40000000
#define WAPI_RXPN_LEN 16
#define PN_LEN 16

struct mwifiex_ds_encrypt_key {
u32 key_disable;
Expand All @@ -222,7 +222,7 @@ struct mwifiex_ds_encrypt_key {
u8 key_material[WLAN_MAX_KEY_LEN];
u8 mac_addr[ETH_ALEN];
u32 is_wapi_key;
u8 wapi_rxpn[WAPI_RXPN_LEN];
u8 pn[PN_LEN]; /* packet number */
};

struct mwifiex_power_cfg {
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/mwifiex/sta_cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ mwifiex_cmd_802_11_key_material(struct mwifiex_private *priv,
memcpy(&key_material->key_param_set.key[2],
enc_key->key_material, enc_key->key_len);
memcpy(&key_material->key_param_set.key[2 + enc_key->key_len],
enc_key->wapi_rxpn, WAPI_RXPN_LEN);
enc_key->pn, PN_LEN);
key_material->key_param_set.length =
cpu_to_le16(WAPI_KEY_LEN + KEYPARAMSET_FIXED_LEN);

Expand Down

0 comments on commit 191b6b4

Please sign in to comment.