summaryrefslogtreecommitdiff
path: root/net/mac802154/iface.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac802154/iface.c')
-rw-r--r--net/mac802154/iface.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/mac802154/iface.c b/net/mac802154/iface.c
index a509a7151be9..1bae29dff082 100644
--- a/net/mac802154/iface.c
+++ b/net/mac802154/iface.c
@@ -208,6 +208,10 @@ static int mac802154_wpan_open(struct net_device *dev)
rc = drv_set_extended_addr(local, sdata->extended_addr);
if (rc < 0)
goto out;
+
+ rc = drv_set_short_addr(local, sdata->short_addr);
+ if (rc < 0)
+ goto out;
}
if (local->hw.flags & IEEE802154_HW_TXPOWER) {