net: wifi: Added missing extern "C"
This change allows to include this header directly from cpp file. Signed-off-by: Wojciech Slenska <wsl@trackunit.com>
This commit is contained in:
parent
b2f7ea0523
commit
f1bf05e63a
1 changed files with 8 additions and 0 deletions
|
@ -27,6 +27,10 @@
|
|||
#define WIFI_LISTEN_INTERVAL_MIN 0
|
||||
#define WIFI_LISTEN_INTERVAL_MAX 65535
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/** IEEE 802.11 security types. */
|
||||
enum wifi_security_type {
|
||||
/** No security. */
|
||||
|
@ -444,6 +448,10 @@ static inline const char *wifi_ps_get_config_err_code_str(int16_t err_no)
|
|||
return "<unknown>";
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue