From: Malcolm Priestley Date: Sun, 25 May 2014 20:36:29 +0000 (+0100) Subject: staging: vt6656: MACvSetKeyEntry create structure to write key X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~242 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83bf96fe5167c3ce8434bc0056c8b2d548d72732;p=pandora-kernel.git staging: vt6656: MACvSetKeyEntry create structure to write key Create structure for wKeyCtl , pbyAddr and pbyKey wKeyCtl(key_ctl) and pbyAddr(addr) form an union of 64 bits with swap of two 32 bits. pbyKey(key) has a length of WLAN_KEY_LEN_CCMP(16) bytes. swap is needed because high order 32 bits needs to written out first. pbyKey is memcpy on to key. Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed