aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/wlan-ng/p80211wep.c
diff options
context:
space:
mode:
authorMoritz Muehlenhoff <jmm@debian.org>2009-06-21 16:43:44 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 15:01:34 -0400
commit0d0202fd888a0f6e42d14aa903c6d79fc8777125 (patch)
treeeec6d437a9bc614594c3fc9ad93e847d511daa49 /drivers/staging/wlan-ng/p80211wep.c
parentf60f79e05aa35eaae7fc1cedaba117bdafe306e2 (diff)
Staging: wlan-ng: Remove some superflous comments
Signed-off-by: Moritz Muehlenhoff <jmm@debian.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/wlan-ng/p80211wep.c')
-rw-r--r--drivers/staging/wlan-ng/p80211wep.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/staging/wlan-ng/p80211wep.c b/drivers/staging/wlan-ng/p80211wep.c
index 4fe0773cad4..ecbb15b297a 100644
--- a/drivers/staging/wlan-ng/p80211wep.c
+++ b/drivers/staging/wlan-ng/p80211wep.c
@@ -56,23 +56,14 @@
56 56
57/* #define WEP_DEBUG */ 57/* #define WEP_DEBUG */
58 58
59/*================================================================*/
60/* Project Includes */
61
62#include "p80211hdr.h" 59#include "p80211hdr.h"
63#include "p80211types.h" 60#include "p80211types.h"
64#include "p80211msg.h" 61#include "p80211msg.h"
65#include "p80211conv.h" 62#include "p80211conv.h"
66#include "p80211netdev.h" 63#include "p80211netdev.h"
67 64
68/*================================================================*/
69/* Local Constants */
70
71#define WEP_KEY(x) (((x) & 0xC0) >> 6) 65#define WEP_KEY(x) (((x) & 0xC0) >> 6)
72 66
73/*================================================================*/
74/* Local Static Definitions */
75
76static const u32 wep_crc32_table[256] = { 67static const u32 wep_crc32_table[256] = {
77 0x00000000L, 0x77073096L, 0xee0e612cL, 0x990951baL, 0x076dc419L, 68 0x00000000L, 0x77073096L, 0xee0e612cL, 0x990951baL, 0x076dc419L,
78 0x706af48fL, 0xe963a535L, 0x9e6495a3L, 0x0edb8832L, 0x79dcb8a4L, 69 0x706af48fL, 0xe963a535L, 0x9e6495a3L, 0x0edb8832L, 0x79dcb8a4L,
@@ -128,12 +119,6 @@ static const u32 wep_crc32_table[256] = {
128 0x2d02ef8dL 119 0x2d02ef8dL
129}; 120};
130 121
131/*================================================================*/
132/* Local Function Declarations */
133
134/*================================================================*/
135/* Function Definitions */
136
137/* keylen in bytes! */ 122/* keylen in bytes! */
138 123
139int wep_change_key(wlandevice_t *wlandev, int keynum, u8 *key, int keylen) 124int wep_change_key(wlandevice_t *wlandev, int keynum, u8 *key, int keylen)