mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-17 06:17:35 +00:00
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>
This commit is contained in:
parent
b6bb1c63dd
commit
4a99ab56ce
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user