Skip to content

Commit

Permalink
mac802154: change pan_coord type to bool
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexander Aring authored and Marcel Holtmann committed Jun 7, 2015
1 parent a0825b0 commit 623c123
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/net/mac802154.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ struct ieee802154_hw_addr_filt {
__le16 pan_id;
__le16 short_addr;
__le64 ieee_addr;
u8 pan_coord;
bool pan_coord;
};

/**
Expand Down

0 comments on commit 623c123

Please sign in to comment.