forked from Minki/linux
rt2x00: Remove now unused crypto.aid field
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
1ed3811c33
commit
567108ebd3
@ -467,7 +467,6 @@ struct rt2x00lib_crypto {
|
||||
const u8 *address;
|
||||
|
||||
u32 bssidx;
|
||||
u32 aid;
|
||||
|
||||
u8 key[16];
|
||||
u8 tx_mic[8];
|
||||
|
@ -518,11 +518,9 @@ int rt2x00mac_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd,
|
||||
|
||||
crypto.cmd = cmd;
|
||||
|
||||
if (sta) {
|
||||
/* some drivers need the AID */
|
||||
crypto.aid = sta->aid;
|
||||
if (sta)
|
||||
crypto.address = sta->addr;
|
||||
} else
|
||||
else
|
||||
crypto.address = bcast_addr;
|
||||
|
||||
if (crypto.cipher == CIPHER_TKIP)
|
||||
|
Loading…
Reference in New Issue
Block a user