projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0825b0
)
mac802154: change pan_coord type to bool
author
Alexander Aring
<alex.aring@gmail.com>
Sat, 6 Jun 2015 15:30:53 +0000
(17:30 +0200)
committer
Marcel 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
patch
|
blob
|
blame
|
history
diff --git
a/include/net/mac802154.h
b/include/net/mac802154.h
index 095c9d06996879d0c6fd9c0c5839dd4d89de640e..de1cdde92edc113da9da67d301681af070ffc262 100644
(file)
--- 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;
};
/**