aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2500usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2500usb.c')
-rw-r--r--drivers/net/wireless/rt2x00/rt2500usb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2500usb.c b/drivers/net/wireless/rt2x00/rt2500usb.c
index c6e6e7b0ea5..41d9996c80e 100644
--- a/drivers/net/wireless/rt2x00/rt2500usb.c
+++ b/drivers/net/wireless/rt2x00/rt2500usb.c
@@ -29,6 +29,7 @@
29#include <linux/init.h> 29#include <linux/init.h>
30#include <linux/kernel.h> 30#include <linux/kernel.h>
31#include <linux/module.h> 31#include <linux/module.h>
32#include <linux/slab.h>
32#include <linux/usb.h> 33#include <linux/usb.h>
33 34
34#include "rt2x00.h" 35#include "rt2x00.h"
@@ -368,7 +369,7 @@ static int rt2500usb_config_key(struct rt2x00_dev *rt2x00dev,
368 369
369 /* 370 /*
370 * The encryption key doesn't fit within the CSR cache, 371 * The encryption key doesn't fit within the CSR cache,
371 * this means we should allocate it seperately and use 372 * this means we should allocate it separately and use
372 * rt2x00usb_vendor_request() to send the key to the hardware. 373 * rt2x00usb_vendor_request() to send the key to the hardware.
373 */ 374 */
374 reg = KEY_ENTRY(key->hw_key_idx); 375 reg = KEY_ENTRY(key->hw_key_idx);
@@ -382,7 +383,7 @@ static int rt2500usb_config_key(struct rt2x00_dev *rt2x00dev,
382 /* 383 /*
383 * The driver does not support the IV/EIV generation 384 * The driver does not support the IV/EIV generation
384 * in hardware. However it demands the data to be provided 385 * in hardware. However it demands the data to be provided
385 * both seperately as well as inside the frame. 386 * both separately as well as inside the frame.
386 * We already provided the CONFIG_CRYPTO_COPY_IV to rt2x00lib 387 * We already provided the CONFIG_CRYPTO_COPY_IV to rt2x00lib
387 * to ensure rt2x00lib will not strip the data from the 388 * to ensure rt2x00lib will not strip the data from the
388 * frame after the copy, now we must tell mac80211 389 * frame after the copy, now we must tell mac80211