diff options
Diffstat (limited to 'drivers/net/wireless/orinoco/mic.c')
-rw-r--r-- | drivers/net/wireless/orinoco/mic.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/orinoco/mic.c b/drivers/net/wireless/orinoco/mic.c index c03e7f54d1b8..fce4a843e656 100644 --- a/drivers/net/wireless/orinoco/mic.c +++ b/drivers/net/wireless/orinoco/mic.c | |||
@@ -59,10 +59,10 @@ int orinoco_mic(struct crypto_hash *tfm_michael, u8 *key, | |||
59 | /* Copy header into buffer. We need the padding on the end zeroed */ | 59 | /* Copy header into buffer. We need the padding on the end zeroed */ |
60 | memcpy(&hdr[0], da, ETH_ALEN); | 60 | memcpy(&hdr[0], da, ETH_ALEN); |
61 | memcpy(&hdr[ETH_ALEN], sa, ETH_ALEN); | 61 | memcpy(&hdr[ETH_ALEN], sa, ETH_ALEN); |
62 | hdr[ETH_ALEN*2] = priority; | 62 | hdr[ETH_ALEN * 2] = priority; |
63 | hdr[ETH_ALEN*2+1] = 0; | 63 | hdr[ETH_ALEN * 2 + 1] = 0; |
64 | hdr[ETH_ALEN*2+2] = 0; | 64 | hdr[ETH_ALEN * 2 + 2] = 0; |
65 | hdr[ETH_ALEN*2+3] = 0; | 65 | hdr[ETH_ALEN * 2 + 3] = 0; |
66 | 66 | ||
67 | /* Use scatter gather to MIC header and data in one go */ | 67 | /* Use scatter gather to MIC header and data in one go */ |
68 | sg_init_table(sg, 2); | 68 | sg_init_table(sg, 2); |