summaryrefslogtreecommitdiff
path: root/net/mac802154/mac_cmd.c
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-11-02 03:18:41 (GMT)
committerMarcel Holtmann <marcel@holtmann.org>2014-11-02 03:51:07 (GMT)
commit776e59de46b5db368e1bd0a4ec5c4feaa740a3d1 (patch)
treef8ca06e1d42c5fe8848fa977ffa785086f4fdb51 /net/mac802154/mac_cmd.c
parentab24f50f2a3e3f6a38b4852530534aa99d86b4d1 (diff)
downloadlinux-776e59de46b5db368e1bd0a4ec5c4feaa740a3d1.tar.xz
mac802154: set extended address filter on ifup
This patch moves the setting of hardware extended address filtering inside of interface up instead doing it directly inside of netlink interface. Also we don't need to set the sdata extended attribute in netlink. This is already done by ndo_set_mac_address of net_device_ops. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/mac802154/mac_cmd.c')
-rw-r--r--net/mac802154/mac_cmd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/mac802154/mac_cmd.c b/net/mac802154/mac_cmd.c
index fc261ab..90c1ad8 100644
--- a/net/mac802154/mac_cmd.c
+++ b/net/mac802154/mac_cmd.c
@@ -43,7 +43,6 @@ static int mac802154_mlme_start_req(struct net_device *dev,
mac802154_dev_set_pan_id(dev, addr->pan_id);
mac802154_dev_set_short_addr(dev, addr->short_addr);
- mac802154_dev_set_ieee_addr(dev);
mac802154_dev_set_page_channel(dev, page, channel);
if (ops->llsec) {