commit | 02a78b42f84b61c689a22f4429d73f92a972bc83 | [log] [tgz] |
---|---|---|
author | Bruno Randolf <br1@einfach.org> | Wed Jun 16 19:11:56 2010 +0900 |
committer | John W. Linville <linville@tuxdriver.com> | Wed Jun 16 14:59:03 2010 -0400 |
tree | f15dfcdeb5674825dd69b7840264b017c8076514 | |
parent | 8a89f063e79bcbd38d01bb25948840fe909e62cd [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>