From: Bjørn Mork Date: Mon, 22 Oct 2012 10:56:33 +0000 (+0000) Subject: net: cdc_ncm: splitting rx_fixup for code reuse X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~591 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff06ab13a4ccae4acb44a2d4e3ece367b616ab50;p=pandora-kernel.git net: cdc_ncm: splitting rx_fixup for code reuse Verifying and handling received MBIM and NCM frames will need to be different in three areas: - verifying the NDP signature - checking valid datagram length - datagram header manipulation This makes it inconvenient to share rx_fixup in whole. But some verification parts are common. Split these out in separate functions. Signed-off-by: Bjørn Mork Signed-off-by: David S. Miller --- Reading git-diff-tree failed