mac802154: change pan_coord type to bool

To indicate if it's a coordinator or not a bool is enough. There should
no more values available which represent some other state.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Reviewed-by: Varka Bhadram <varkabhadram@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
Alexander Aring 2015-06-06 17:30:53 +02:00 committed by Marcel Holtmann
parent a0825b03ae
commit 623c1234a2

View file

@ -71,7 +71,7 @@ struct ieee802154_hw_addr_filt {
__le16 pan_id;
__le16 short_addr;
__le64 ieee_addr;
u8 pan_coord;
bool pan_coord;
};
/**