From: Arik Nemtsov Date: Mon, 12 Dec 2011 10:18:17 +0000 (+0200) Subject: wlcore/wl12xx: add hw op for getting rx packet data length X-Git-Tag: v3.5-rc1~109^2~410^2~79^2^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4158149c24e6f933809bc6fe03dbc3fb218b935b;p=pandora-kernel.git wlcore/wl12xx: add hw op for getting rx packet data length There is a difference in the way chip families report the length of data in a single Rx packet. Abstract this into a HW op. Refactor the Rx data handling function to allocate the correct size for the data, and avoid trimming the skb. Signed-off-by: Arik Nemtsov Signed-off-by: Luciano Coelho --- Reading git-diff-tree failed