From: Alexander Aring Date: Sat, 6 Jun 2015 15:30:53 +0000 (+0200) Subject: mac802154: change pan_coord type to bool X-Git-Tag: firefly_0821_release~176^2~1587^2~29^2~74 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=623c1234a2da2235d6f0bcd09061b6f7776eee93;p=firefly-linux-kernel-4.4.55.git 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 Reviewed-by: Varka Bhadram Signed-off-by: Marcel Holtmann --- diff --git a/include/net/mac802154.h b/include/net/mac802154.h index 095c9d069968..de1cdde92edc 100644 --- a/include/net/mac802154.h +++ b/include/net/mac802154.h @@ -71,7 +71,7 @@ struct ieee802154_hw_addr_filt { __le16 pan_id; __le16 short_addr; __le64 ieee_addr; - u8 pan_coord; + bool pan_coord; }; /**