diff options
author | Andy Fleming <afleming@freescale.com> | 2008-03-24 18:53:27 +0300 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-03-26 07:44:39 +0300 |
commit | 99da5003a5b085c12d996da1010e276e9b88672f (patch) | |
tree | 23fb14628162cfd1c64092e1c61327a098b1edf8 /drivers/net/ppp_async.c | |
parent | faa89577621b4296a8869e75b90a546c951df968 (diff) | |
download | linux-99da5003a5b085c12d996da1010e276e9b88672f.tar.xz |
gianfar: Only process completed frames
If the LAST bit is not set in the RxBD, it's possible we're processing
an incomplete frame, which is bad. While we're at it, add a constant
for the error bitmask, so the whole if-clause fits on one line,
and is more legible.
Signed-off-by: Dai Haruki <dai.haruki@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/ppp_async.c')
0 files changed, 0 insertions, 0 deletions