Move debug level string conversion functions to wpa_debug.c
This makes it possible to use these helper functions from hostapd as well as the current use in wpa_supplicant. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
84bcb4e7a9
commit
ab62f96f55
3 changed files with 42 additions and 39 deletions
|
@ -364,4 +364,7 @@ static inline void wpa_debug_close_linux_tracing(void)
|
|||
#define WPA_ASSERT(a) do { } while (0)
|
||||
#endif
|
||||
|
||||
const char * debug_level_str(int level);
|
||||
int str_to_debug_level(const char *s);
|
||||
|
||||
#endif /* WPA_DEBUG_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue