commit | 641459ca336edc009e044b76d16ee3d1ca6464c0 | [log] [tgz] |
---|---|---|
author | Lennert Buytenhek <buytenh@wantstofly.org> | Mon May 25 15:38:51 2015 +0300 |
committer | Marcel Holtmann <marcel@holtmann.org> | Tue May 26 20:26:10 2015 +0200 |
tree | 61aaa96ea72a06de08837df1021dc6c2cadeee52 | |
parent | 66a3297f6d3f9dc35e27c3cec6b4437ac13f07ff [diff] |
mac802154: mac802154_mlme_start_req() optimisation. mac802154_mlme_start_req() calls ieee802154_mlme_ops(dev)->llsec->set_params() on the net_device passed into it, however, this net_device will always be a mac802154 net_device, so just call mac802154_set_params() directly instead. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Acked-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>