Commit 54af36e7136b5e111734ca5b06c6b4390d663cac
Committed by
David S. Miller
1 parent
06324f2f7c
Exists in
master
and in
13 other branches
ieee802154: dgram: cleanup set of broadcast panid
This patch is only a cleanup to use the right define for a panid field. The broadcast address and panid broadcast is still the same value. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Cc: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
net/ieee802154/dgram.c
... | ... | @@ -74,7 +74,7 @@ |
74 | 74 | struct dgram_sock *ro = dgram_sk(sk); |
75 | 75 | |
76 | 76 | ro->dst_addr.mode = IEEE802154_ADDR_LONG; |
77 | - ro->dst_addr.pan_id = cpu_to_le16(IEEE802154_ADDR_BROADCAST); | |
77 | + ro->dst_addr.pan_id = cpu_to_le16(IEEE802154_PANID_BROADCAST); | |
78 | 78 | ro->want_ack = 1; |
79 | 79 | memset(&ro->dst_addr.extended_addr, 0xff, IEEE802154_ADDR_LEN); |
80 | 80 | return 0; |