]> git.karo-electronics.de Git - linux-beck.git/commit
rt2x00: Copy the MAC address to the WCID entry properly.
authorGertjan van Wingerde <gwingerde@gmail.com>
Sun, 30 Jan 2011 12:23:03 +0000 (13:23 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 31 Jan 2011 20:06:25 +0000 (15:06 -0500)
commit10026f77b3555af13e43b8de0a91ad94cd2119d7
treebb6eb17d7129f6399c9a3882ee75bb5ba85c1bfb
parenta45f369d477c0e1b15b77c7b09ccfa043097e9ab
rt2x00: Copy the MAC address to the WCID entry properly.

Use the specific mac field of the wcid_entry structure to copy the MAC
address to, instead of just overwriting the structure.
Previous code resulted in the same, but this form is cleaner.

Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800lib.c