ieee802154: || vs && in ieee802154_is_valid_extended_addr()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 4 Nov 2014 08:55:09 +0000 (11:55 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 4 Nov 2014 16:44:48 +0000 (17:44 +0100)
commit0d8a52f933f817d0b62955a5a362fb7f2508f06c
treeb886a45331b0bd09cf4a74d5f9a43e7448a05043
parent980edbd503dc0823c75e138edc53a48f99e1e3f6
ieee802154: || vs && in ieee802154_is_valid_extended_addr()

The ieee802154_is_valid_extended_addr() always returns true because
there is a typo.  The || should be &&.  Neither 0x0000000000000000ULL
nor 0xffffffffffffffffULL are valid addresses.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/linux/ieee802154.h