diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00dev.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00dev.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00dev.c b/drivers/net/wireless/rt2x00/rt2x00dev.c index b93731b79903..eda73ba735a6 100644 --- a/drivers/net/wireless/rt2x00/rt2x00dev.c +++ b/drivers/net/wireless/rt2x00/rt2x00dev.c | |||
@@ -25,6 +25,7 @@ | |||
25 | 25 | ||
26 | #include <linux/kernel.h> | 26 | #include <linux/kernel.h> |
27 | #include <linux/module.h> | 27 | #include <linux/module.h> |
28 | #include <linux/slab.h> | ||
28 | 29 | ||
29 | #include "rt2x00.h" | 30 | #include "rt2x00.h" |
30 | #include "rt2x00lib.h" | 31 | #include "rt2x00lib.h" |
@@ -394,7 +395,7 @@ void rt2x00lib_rxdone(struct rt2x00_dev *rt2x00dev, | |||
394 | /* | 395 | /* |
395 | * Hardware might have stripped the IV/EIV/ICV data, | 396 | * Hardware might have stripped the IV/EIV/ICV data, |
396 | * in that case it is possible that the data was | 397 | * in that case it is possible that the data was |
397 | * provided seperately (through hardware descriptor) | 398 | * provided separately (through hardware descriptor) |
398 | * in which case we should reinsert the data into the frame. | 399 | * in which case we should reinsert the data into the frame. |
399 | */ | 400 | */ |
400 | if ((rxdesc.dev_flags & RXDONE_CRYPTO_IV) && | 401 | if ((rxdesc.dev_flags & RXDONE_CRYPTO_IV) && |