diff options
author | Isak Westin <isak.westin@hotmail.com> | 2022-09-21 13:16:30 +0200 |
---|---|---|
committer | Brian Gix <brian.gix@intel.com> | 2022-09-22 14:02:38 -0700 |
commit | c9fadca7eba448cc1cd0c9323458e20c665052d8 (patch) | |
tree | 8462c772d871a3adda320a87ca2d7fc2a27f586a /mesh | |
parent | b72edcc5ca6fd0b3728a37cfa2bfbf483953ebba (diff) | |
download | bluez-c9fadca7eba448cc1cd0c9323458e20c665052d8.tar.gz |
mesh: Remove RFU check for publication set
It is not stated in the mesh profile that the RFU bits in a Model
Publication Set message have to be zero. In fact, PTS test
MESH/NODE/CFG/MP/BV-01-C is sending that command with non-zero RFU and
expects a reply.
Diffstat (limited to 'mesh')
-rw-r--r-- | mesh/cfgmod-server.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mesh/cfgmod-server.c b/mesh/cfgmod-server.c index 5eefedc4d..c1e1faa6a 100644 --- a/mesh/cfgmod-server.c +++ b/mesh/cfgmod-server.c @@ -110,8 +110,6 @@ static uint16_t config_pub_set(struct mesh_node *node, const uint8_t *pkt, pkt += (virt ? 14 : 0); idx = l_get_le16(pkt + 4); - if (idx > CREDFLAG_MASK) - return 0; cred_flag = !!(CREDFLAG_MASK & idx); idx &= APP_IDX_MASK; |