summaryrefslogtreecommitdiffstats
path: root/include/net
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
parenta0825b03aed91dd25d31aaff1e6e85c322caf8b2 (diff)
downloadop-kernel-dev-623c1234a2da2235d6f0bcd09061b6f7776eee93.zip
op-kernel-dev-623c1234a2da2235d6f0bcd09061b6f7776eee93.tar.gz
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')
-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 095c9d0..de1cdde 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;
};
/**
OpenPOWER on IntegriCloud