|
@@ -259,7 +259,7 @@ static int llc_station_ac_send_null_dsap_xid_c(struct sk_buff *skb)
|
|
|
goto out;
|
|
|
llc_pdu_header_init(nskb, LLC_PDU_TYPE_U, 0, 0, LLC_PDU_CMD);
|
|
|
llc_pdu_init_as_xid_cmd(nskb, LLC_XID_NULL_CLASS_2, 127);
|
|
|
- rc = llc_mac_hdr_init(nskb, llc_station_mac_sa, llc_station_mac_sa);
|
|
|
+ rc = llc_mac_hdr_init(nskb, skb->dev->dev_addr, skb->dev->dev_addr);
|
|
|
if (unlikely(rc))
|
|
|
goto free;
|
|
|
llc_station_send_pdu(nskb);
|
|
@@ -283,7 +283,7 @@ static int llc_station_ac_send_xid_r(struct sk_buff *skb)
|
|
|
llc_pdu_decode_ssap(skb, &dsap);
|
|
|
llc_pdu_header_init(nskb, LLC_PDU_TYPE_U, 0, dsap, LLC_PDU_RSP);
|
|
|
llc_pdu_init_as_xid_rsp(nskb, LLC_XID_NULL_CLASS_2, 127);
|
|
|
- rc = llc_mac_hdr_init(nskb, llc_station_mac_sa, mac_da);
|
|
|
+ rc = llc_mac_hdr_init(nskb, skb->dev->dev_addr, mac_da);
|
|
|
if (unlikely(rc))
|
|
|
goto free;
|
|
|
llc_station_send_pdu(nskb);
|
|
@@ -307,7 +307,7 @@ static int llc_station_ac_send_test_r(struct sk_buff *skb)
|
|
|
llc_pdu_decode_ssap(skb, &dsap);
|
|
|
llc_pdu_header_init(nskb, LLC_PDU_TYPE_U, 0, dsap, LLC_PDU_RSP);
|
|
|
llc_pdu_init_as_test_rsp(nskb, skb);
|
|
|
- rc = llc_mac_hdr_init(nskb, llc_station_mac_sa, mac_da);
|
|
|
+ rc = llc_mac_hdr_init(nskb, skb->dev->dev_addr, mac_da);
|
|
|
if (unlikely(rc))
|
|
|
goto free;
|
|
|
llc_station_send_pdu(nskb);
|