Merge pull request #516 from ourairquality/softap-multicast

softap: allow output of multicast frames.
This commit is contained in:
Ruslan V. Uss 2017-12-12 10:28:21 +05:00 committed by GitHub
commit 89c6c410ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -192,6 +192,11 @@ struct sdk_cnx_node *sdk_cnx_node_search(uint8_t mac[6])
struct sdk_cnx_node **cnx_nodes = sdk_g_ic.v.softap_netif_info->cnx_nodes; struct sdk_cnx_node **cnx_nodes = sdk_g_ic.v.softap_netif_info->cnx_nodes;
/* Multicast addresses */
if (mac[0] & 0x01) {
return cnx_nodes[0];
}
int i = 0; int i = 0;
do { do {
struct sdk_cnx_node *cnx_node = cnx_nodes[i]; struct sdk_cnx_node *cnx_node = cnx_nodes[i];