mac802154: mac802154_mlme_start_req() optimisation.
authorLennert Buytenhek <buytenh@wantstofly.org>
Mon, 25 May 2015 12:38:51 +0000 (15:38 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 26 May 2015 18:26:10 +0000 (20:26 +0200)
commit641459ca336edc009e044b76d16ee3d1ca6464c0
tree61aaa96ea72a06de08837df1021dc6c2cadeee52
parent66a3297f6d3f9dc35e27c3cec6b4437ac13f07ff
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>
net/mac802154/mac_cmd.c