diff options
Diffstat (limited to 'net/mac80211/tkip.c')
| -rw-r--r-- | net/mac80211/tkip.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/tkip.c b/net/mac80211/tkip.c index 964b7faa7f1..4921d724b6c 100644 --- a/net/mac80211/tkip.c +++ b/net/mac80211/tkip.c @@ -301,9 +301,9 @@ int ieee80211_tkip_decrypt_data(struct crypto_blkcipher *tfm,  #endif  		if (key->local->ops->update_tkip_key &&  			key->flags & KEY_FLAG_UPLOADED_TO_HARDWARE) { -			u8 bcast[ETH_ALEN] = +			static const u8 bcast[ETH_ALEN] =  				{0xff, 0xff, 0xff, 0xff, 0xff, 0xff}; -			u8 *sta_addr = key->sta->sta.addr; +			const u8 *sta_addr = key->sta->sta.addr;  			if (is_multicast_ether_addr(ra))  				sta_addr = bcast;  |