summaryrefslogtreecommitdiff
path: root/net/mac802154/iface.c
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2015-09-18 12:30:41 +0300
committerMarcel Holtmann <marcel@holtmann.org>2015-09-22 12:51:20 +0300
commita1da67b8117ddbe88c770b48b5b1527393b8c9c0 (patch)
tree57a76f73c329752f9543ae151ec6a45a969ec29d /net/mac802154/iface.c
parentcdd38b219eec2e1b83c0a02d89d372f9656648eb (diff)
downloadlinux-a1da67b8117ddbe88c770b48b5b1527393b8c9c0.tar.xz
ieee802154: header_ops: fix frame control setting
Sometimes upper-layer protocols wants to generate a new mac header by filling "struct ieee802154_hdr" only. These upper-layers sets for the address settings the source and dest fields, but not the fc fields for indicate the source and dest address mode. This patch changes the "ieee802154_hdr_push" function so the fc address fields are set according the source and dest fields of "struct ieee802154_hdr". Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/mac802154/iface.c')
0 files changed, 0 insertions, 0 deletions