diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-01-09 19:18:25 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-01-10 22:18:24 +0100 |
commit | dd87145d2c3a7b1c8b338e1f6e174b3d2a17cd35 (patch) | |
tree | c620074a36e829a9485d7c8c55afcd85757ba2ec /drivers/net/wireless/rt2x00 | |
parent | rt2x00: Allow rt61 to catch up after a missing tx report (diff) | |
download | linux-dd87145d2c3a7b1c8b338e1f6e174b3d2a17cd35.tar.xz linux-dd87145d2c3a7b1c8b338e1f6e174b3d2a17cd35.zip |
rt2x00: Corectly initialize rt2500usb MAC
mac is a pointer, obviously we shouldn't use the address
of a pointer as MAC address.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2500usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2500usb.c b/drivers/net/wireless/rt2x00/rt2500usb.c index 50775f9234cc..18b1f9145389 100644 --- a/drivers/net/wireless/rt2x00/rt2500usb.c +++ b/drivers/net/wireless/rt2x00/rt2500usb.c @@ -257,7 +257,7 @@ static const struct rt2x00debug rt2500usb_rt2x00debug = { static void rt2500usb_config_mac_addr(struct rt2x00_dev *rt2x00dev, __le32 *mac) { - rt2500usb_register_multiwrite(rt2x00dev, MAC_CSR2, &mac, + rt2500usb_register_multiwrite(rt2x00dev, MAC_CSR2, mac, (3 * sizeof(__le16))); } |