Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 567108eb authored by Helmut Schaa's avatar Helmut Schaa Committed by John W. Linville
Browse files

rt2x00: Remove now unused crypto.aid field

parent 1ed3811c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -467,7 +467,6 @@ struct rt2x00lib_crypto {
	const u8 *address;

	u32 bssidx;
	u32 aid;

	u8 key[16];
	u8 tx_mic[8];
+2 −4
Original line number Diff line number Diff line
@@ -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)