mac802154: change pan_coord type to bool
authorAlexander Aring <alex.aring@gmail.com>
Sat, 6 Jun 2015 15:30:53 +0000 (17:30 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 7 Jun 2015 07:13:32 +0000 (09:13 +0200)
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>
include/net/mac802154.h

index 095c9d06996879d0c6fd9c0c5839dd4d89de640e..de1cdde92edc113da9da67d301681af070ffc262 100644 (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;
 };
 
 /**