diff options
author | Jason Cooper <jason@lakedaemon.net> | 2010-09-14 09:45:43 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-09-14 16:24:17 -0700 |
commit | 29c4275adbe15e95db54ce04a3137a6ff40c890c (patch) | |
tree | 7afaf71b9ce692e58ac1c33c823a682942955014 /drivers/staging/brcm80211/util/bcmotp.c | |
parent | 198bd4d69dddb3fe78fdc251983bb49502b3b35e (diff) |
staging: brcm80211: fix "ERROR: space prohibited after that ..."
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/brcm80211/util/bcmotp.c')
-rw-r--r-- | drivers/staging/brcm80211/util/bcmotp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/brcm80211/util/bcmotp.c b/drivers/staging/brcm80211/util/bcmotp.c index 3c812d4436ca..1c6c57b469a0 100644 --- a/drivers/staging/brcm80211/util/bcmotp.c +++ b/drivers/staging/brcm80211/util/bcmotp.c @@ -805,7 +805,7 @@ static int hndotp_nvread(void *oh, char *data, uint *len) /* Bad length, try to find another chunk anyway */ rsz = 6; } - if (hndcrc16((uint8 *) & rawotp[i], rsz, + if (hndcrc16((uint8 *) &rawotp[i], rsz, CRC16_INIT_VALUE) == CRC16_GOOD_VALUE) { /* Good crc, copy the vars */ gchunks++; |