summaryrefslogtreecommitdiffstats
path: root/include/net/mac802154.h
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2015-06-06 17:30:53 +0200
committerMarcel Holtmann <marcel@holtmann.org>2015-06-07 09:13:32 +0200
commit623c1234a2da2235d6f0bcd09061b6f7776eee93 (patch)
tree4c90a4de6465b843b6e579fe9910b9aedc3c6623 /include/net/mac802154.h
parentmac802154: add missing structure comments (diff)
downloadlinux-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.h2
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;
};
/**