From: Yogesh Ashok Powar Date: Mon, 6 Jun 2011 09:23:02 +0000 (+0530) Subject: mwifiex: adding check for enough space before padding X-Git-Tag: v3.1-rc1~316^2~450^2~57^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb3c19bc9687d972b83faf366b38ac807eca8f25;p=pandora-kernel.git mwifiex: adding check for enough space before padding All MSDUs, except the last one in an AMSDU, should end up at 4 bytes boundary. There is need to check if enough skb_tailroom space exists before padding the skb. Also re-arranging code for better readablity. Signed-off-by: Yogesh Ashok Powar Signed-off-by: John W. Linville --- Reading git-diff-tree failed