commit | 66a3297f6d3f9dc35e27c3cec6b4437ac13f07ff | [log] [tgz] |
---|---|---|
author | Lennert Buytenhek <buytenh@wantstofly.org> | Mon May 25 15:38:45 2015 +0300 |
committer | Marcel Holtmann <marcel@holtmann.org> | Tue May 26 20:26:10 2015 +0200 |
tree | a16a51e79ed82bba0933feb546289996890774c9 | |
parent | 01c8d2bbd407a178f5bfe0312c32aec345066697 [diff] |
ieee802154 socket: No need to check for ARPHRD_IEEE802154 in raw_bind(). ieee802154_get_dev() only returns devices that have dev->type == ARPHRD_IEEE802154, therefore, there is no need to check this again in raw_bind(). Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Acked-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>