linux/drivers/staging/wlan-ng
Ioana Ciornei 7078db9dff staging: prism2sta: Replace memcpy with ether_add_copy
Replace memcpy() with ether_addr_copy() since addresses are __aligned(2).
The 2 structures are aligned to u16 as showed below:

typedef struct hfa384x_authenticateStation_data {
u8 address[ETH_ALEN];                           /* 0    6 */
u16 status;                                     /* 6    2 */
u16 algorithm;                                  /* 8    2 */
} __packed hfa384x_authenticateStation_data_t;

Total size: 10

typedef struct hfa384x_AuthRequest {
u8 sta_addr[ETH_ALEN];                          /* 0    6 */
u16 algorithm;                                  /* 6    2 */
} __packed hfa384x_AuthReq_t;
Total size: 8

Signed-off-by: Ioana Ciornei <ciorneiioana@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-03-20 13:11:45 +01:00
..
cfg80211.c cfg80211: remove enum station_info_flags 2015-01-08 15:28:10 +01:00
hfa384x.h staging: wlan-ng: hfa384x_usb: fix sparse endianness warnings 2015-01-25 19:59:19 +08:00
hfa384x_usb.c staging: wlan-ng: Use kzalloc instead of kmalloc. 2015-03-15 18:41:10 +01:00
Kconfig
Makefile
p80211conv.c staging: wlan-ng: Fix typo in comments and printk 2015-01-17 16:10:48 -08:00
p80211conv.h
p80211hdr.h staging: wlan-ng: Fix incorrect type in assignments 2014-10-28 15:41:43 +08:00
p80211ioctl.h
p80211meta.h
p80211metadef.h
p80211metastruct.h
p80211mgmt.h
p80211msg.h
p80211netdev.c staging: wlan-ng: Fix restricted __be16 degrades to integer 2014-10-23 14:10:49 +08:00
p80211netdev.h Staging: wlan-ng: Fix unnecessary space before function pointer arguments 2014-09-28 23:14:09 -04:00
p80211req.c staging: wlan-ng: Fix typo in comments and printk 2015-01-17 16:10:48 -08:00
p80211req.h
p80211types.h
p80211wep.c
prism2fw.c staging: wlan-ng: prism2fw: fixed code style issue 2014-11-26 14:00:22 -08:00
prism2mgmt.c staging: wlan-ng: prism2mgmt.c Fix break not useful 2014-08-17 09:49:48 -07:00
prism2mgmt.h staging: wlan-ng: Fix typo in comments and printk 2015-01-17 16:10:48 -08:00
prism2mib.c staging: wlan-ng: remove unused variable 2015-03-01 16:23:55 -08:00
prism2sta.c staging: prism2sta: Replace memcpy with ether_add_copy 2015-03-20 13:11:45 +01:00
prism2usb.c
README

TODO:
	- checkpatch.pl cleanups
	- sparse warnings
	- move to use the in-kernel wireless stack

Please send any patches or complaints about this driver to Greg
Kroah-Hartman <greg@kroah.com> and don't bother the upstream wireless
kernel developers about it, they want nothing to do with it.