diff options
author | Shahed Shaikh <shahed.shaikh@qlogic.com> | 2013-08-03 07:15:54 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-03 23:03:03 +0400 |
commit | 4a99ab56cea66f9f67b9d07ace5cd40a336c8e6f (patch) | |
tree | 4c2bbaf49cd001f1c4dba9b7ad93ea6a9ed4462a | |
parent | b6bb1c63dd46c4a9cdccbf5b5db49386eb6759a9 (diff) | |
download | linux-4a99ab56cea66f9f67b9d07ace5cd40a336c8e6f.tar.xz |
qlcnic: Fix MAC address filter issue on 82xx adapter
Driver was passing the address of a pointer instead of
the pointer itself.
Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c index d3f8797efcc3..82a03d3de894 100644 --- 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); |