mesh: Use MESH_CAP_* macros for mesh capability
Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
This commit is contained in:
parent
d70a8ab1e3
commit
5a8e48fdb3
1 changed files with 2 additions and 1 deletions
|
@ -290,7 +290,8 @@ static void mesh_mpm_send_plink_action(struct wpa_supplicant *wpa_s,
|
||||||
/* TODO: Add Connected to Mesh Gate/AS subfields */
|
/* TODO: Add Connected to Mesh Gate/AS subfields */
|
||||||
wpabuf_put_u8(buf, info);
|
wpabuf_put_u8(buf, info);
|
||||||
/* always forwarding & accepting plinks for now */
|
/* always forwarding & accepting plinks for now */
|
||||||
wpabuf_put_u8(buf, 0x1 | 0x8);
|
wpabuf_put_u8(buf, MESH_CAP_ACCEPT_ADDITIONAL_PEER |
|
||||||
|
MESH_CAP_FORWARDING);
|
||||||
} else { /* Peer closing frame */
|
} else { /* Peer closing frame */
|
||||||
/* IE: Mesh ID */
|
/* IE: Mesh ID */
|
||||||
wpabuf_put_u8(buf, WLAN_EID_MESH_ID);
|
wpabuf_put_u8(buf, WLAN_EID_MESH_ID);
|
||||||
|
|
Loading…
Reference in a new issue