projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
staging: rtl8723bs: replace _RND8 with round_up()
[linux-2.6-microblaze.git]
/
drivers
/
staging
/
rtl8723bs
/
hal
/
rtl8723bs_recv.c
diff --git
a/drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c
b/drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c
index
b9ccaad
..
1fbf89c
100644
(file)
--- a/
drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c
+++ b/
drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c
@@
-369,7
+369,7
@@
static void rtl8723bs_recv_tasklet(struct tasklet_struct *t)
}
}
- pkt_offset =
_RND8(pkt_offset
);
+ pkt_offset =
round_up(pkt_offset, 8
);
precvbuf->pdata += pkt_offset;
ptr = precvbuf->pdata;
precvframe = NULL;