diff options
author | Mike McCormack <mikem@ring3k.org> | 2010-07-26 22:57:35 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-07-26 15:45:10 -0700 |
commit | 4a533365b477497125204c9e29fa204105093105 (patch) | |
tree | ad330a57da3b51f575386652b5f95ff0212b421b /drivers/staging/rtl8192e | |
parent | ab2161a0a078e7c600b0b6434ec071b72d76608f (diff) |
staging: rtl8192e: Make static variables const
Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rtl8192e')
-rw-r--r-- | drivers/staging/rtl8192e/r8192E_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8192e/r8192E_core.c b/drivers/staging/rtl8192e/r8192E_core.c index c69fcc7efc0b..9baac60a743c 100644 --- a/drivers/staging/rtl8192e/r8192E_core.c +++ b/drivers/staging/rtl8192e/r8192E_core.c @@ -349,8 +349,8 @@ u8 rtl8192e_ap_sec_type(struct ieee80211_device *ieee) //struct r8192_priv* priv = ieee80211_priv(dev); //struct ieee80211_device *ieee = priv->ieee80211; - static u8 ccmp_ie[4] = {0x00,0x50,0xf2,0x04}; - static u8 ccmp_rsn_ie[4] = {0x00, 0x0f, 0xac, 0x04}; + static const u8 ccmp_ie[4] = {0x00,0x50,0xf2,0x04}; + static const u8 ccmp_rsn_ie[4] = {0x00, 0x0f, 0xac, 0x04}; int wpa_ie_len= ieee->wpa_ie_len; struct ieee80211_crypt_data* crypt; int encrypt; |