mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
staging: wlan-ng: remove unnecessary blank lines in p80211wep.c
This patch removes unnecessary blank line in p80211wep.c file to comply with the standard kernel coding style. Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d7a711b06e
commit
e0ae434801
1 changed files with 0 additions and 4 deletions
|
@ -52,8 +52,6 @@
|
|||
#include <linux/wireless.h>
|
||||
#include <linux/random.h>
|
||||
#include <linux/kernel.h>
|
||||
|
||||
|
||||
#include "p80211hdr.h"
|
||||
#include "p80211types.h"
|
||||
#include "p80211msg.h"
|
||||
|
@ -132,7 +130,6 @@ int wep_change_key(struct wlandevice *wlandev, int keynum, u8 *key, int keylen)
|
|||
if (keynum >= NUM_WEPKEYS)
|
||||
return -1;
|
||||
|
||||
|
||||
wlandev->wep_keylens[keynum] = keylen;
|
||||
memcpy(wlandev->wep_keys[keynum], key, keylen);
|
||||
|
||||
|
@ -176,7 +173,6 @@ int wep_decrypt(struct wlandevice *wlandev, u8 *buf, u32 len, int key_override,
|
|||
|
||||
keylen += 3; /* add in IV bytes */
|
||||
|
||||
|
||||
/* set up the RC4 state */
|
||||
for (i = 0; i < 256; i++)
|
||||
s[i] = i;
|
||||
|
|
Loading…
Reference in a new issue