projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ced7293
)
batman-adv: move BATADV_TT_CLIENT_TEMP to higher bit
author
Antonio Quartulli
<
[email protected]
>
Wed, 24 Apr 2013 14:37:52 +0000
(16:37 +0200)
committer
Antonio Quartulli
<
[email protected]
>
Wed, 9 Oct 2013 19:22:32 +0000
(21:22 +0200)
Client flags from bit 0 to 7 are sent over the wire.
BATADV_TT_CLIENT_TEMP is a local flag and is not supposed
to be sent to the network. Therefore it has occupy a
higher bit.
Signed-off-by: Antonio Quartulli <
[email protected]
>
Signed-off-by: Marek Lindner <
[email protected]
>
net/batman-adv/packet.h
patch
|
blob
|
history
diff --git
a/net/batman-adv/packet.h
b/net/batman-adv/packet.h
index 7a337d732bea981330a71cd7d1a41be5c4d32237..ab3084f4f8ffb6e4df7453c2467a3ce50d9052a0 100644
(file)
--- a/
net/batman-adv/packet.h
+++ b/
net/batman-adv/packet.h
@@
-106,10
+106,10
@@
enum batadv_tt_client_flags {
BATADV_TT_CLIENT_DEL = BIT(0),
BATADV_TT_CLIENT_ROAM = BIT(1),
BATADV_TT_CLIENT_WIFI = BIT(2),
- BATADV_TT_CLIENT_TEMP = BIT(3),
BATADV_TT_CLIENT_NOPURGE = BIT(8),
BATADV_TT_CLIENT_NEW = BIT(9),
BATADV_TT_CLIENT_PENDING = BIT(10),
+ BATADV_TT_CLIENT_TEMP = BIT(11),
};
/* claim frame types for the bridge loop avoidance */