From: Bruno Randolf Date: Wed, 16 Jun 2010 10:11:56 +0000 (+0900) Subject: ath5k: move checks and stats into new function X-Git-Tag: v2.6.36-rc1~571^2~540^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02a78b42f84b61c689a22f4429d73f92a972bc83;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed