diff options
author | Alexander Aring <alex.aring@gmail.com> | 2015-06-06 17:30:53 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-06-07 09:13:32 +0200 |
commit | 623c1234a2da2235d6f0bcd09061b6f7776eee93 (patch) | |
tree | 4c90a4de6465b843b6e579fe9910b9aedc3c6623 /include/net/mac802154.h | |
parent | mac802154: add missing structure comments (diff) | |
download | linux-623c1234a2da2235d6f0bcd09061b6f7776eee93.tar.xz linux-623c1234a2da2235d6f0bcd09061b6f7776eee93.zip |
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>
Diffstat (limited to 'include/net/mac802154.h')
-rw-r--r-- | include/net/mac802154.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; }; /** |