projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6bb1c6
)
qlcnic: Fix MAC address filter issue on 82xx adapter
author
Shahed Shaikh
<
[email protected]
>
Sat, 3 Aug 2013 03:15:54 +0000
(23:15 -0400)
committer
David S. Miller
<
[email protected]
>
Sat, 3 Aug 2013 19:03:03 +0000
(12:03 -0700)
Driver was passing the address of a pointer instead of
the pointer itself.
Signed-off-by: Shahed Shaikh <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
index d3f8797efcc3d7a6012ea56ddb4feda210727f22..82a03d3de89430e57aa8a2292b982672b54a717d 100644
(file)
--- a/
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
+++ b/
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c
@@
-262,7
+262,7
@@
void qlcnic_82xx_change_filter(struct qlcnic_adapter *adapter, u64 *uaddr,
mac_req = (struct qlcnic_mac_req *)&(req->words[0]);
mac_req->op = vlan_id ? QLCNIC_MAC_VLAN_ADD : QLCNIC_MAC_ADD;
- memcpy(mac_req->mac_addr,
&
uaddr, ETH_ALEN);
+ memcpy(mac_req->mac_addr, uaddr, ETH_ALEN);
vlan_req = (struct qlcnic_vlan_req *)&req->words[1];
vlan_req->vlan_id = cpu_to_le16(vlan_id);