]> git.baikalelectronics.ru Git - kernel.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)
commit33211366b600996fc8e4db048d84e7298cedfff6
treebb6eb17d7129f6399c9a3882ee75bb5ba85c1bfb
parentc2cece9d8da2c2913f2692b2041e4ddb08064bfb
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