Hack references to get the linker using the open lib definitions.

This commit is contained in:
ourairquality 2016-09-16 20:54:44 +10:00
parent 195eb3a97b
commit b3f5ef604f
3 changed files with 21 additions and 0 deletions

View file

@ -28,4 +28,7 @@ void sdk_hostap_handle_timer(struct sdk_netif_conninfo *cnx_node)
}
}
/* Needed to have the linker actually replace the above definitions. */
void libnet80211_hostap_linker_hack(){}
#endif /* OPEN_LIBNET80211_HOSTAP */

View file

@ -31,4 +31,7 @@ void *sdk_cnx_node_search(uint8_t mac[6])
return NULL;
}
/* Needed to have the linker actually replace the above definitions. */
void libnet80211_wl_cnx_linker_hack(){}
#endif /* OPEN_LIBNET80211_WL_CNX */