summaryrefslogtreecommitdiff
path: root/include/s_record.h
diff options
context:
space:
mode:
authorVladimir Oltean <olteanv@gmail.com>2019-07-19 00:29:57 +0300
committerJoe Hershberger <joe.hershberger@ni.com>2019-07-25 13:13:31 -0500
commitf6297c06928879127c9de481a4c79824a83c2bd1 (patch)
tree57cd4ad404c0ec269ca6eff0719eda7794c0bfcf /include/s_record.h
parentb7be776776b0739d78ed42a52b1bc8b5b0bc6e13 (diff)
net: tsec: Common handling of MAC station address for DM_ETH
In tsec_init, the MAC address is retrieved from 2 different structures depending on whether DM_ETH is enabled or not. But since the field name is the same inside both structures, we can conditionally define the structure of the correct type and simplify the assignments. Signed-off-by: Vladimir Oltean <olteanv@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/s_record.h')
0 files changed, 0 insertions, 0 deletions