aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/s2io-regs.h
diff options
context:
space:
mode:
authorBruno Randolf <br1@einfach.org>2010-06-16 06:11:56 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-06-16 14:59:03 -0400
commit02a78b42f84b61c689a22f4429d73f92a972bc83 (patch)
treef15dfcdeb5674825dd69b7840264b017c8076514 /drivers/net/s2io-regs.h
parent8a89f063e79bcbd38d01bb25948840fe909e62cd (diff)
ath5k: move checks and stats into new function
Create a new function ath5k_receive_frame_ok() which checks for errors, updates error statistics and tells us if we want to further "receive" this frame or not. This way we can avoid a goto and have a cleaner separation between buffer handling and other things. Signed-off-by: Bruno Randolf <br1@einfach.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/s2io-regs.h')
0 files changed, 0 insertions, 0 deletions