CW_ROLS... moved to cw.h

FossilOrigin-Name: c36fbcb217dfa2d5fb0694c2e40229524a99db5aa872c0d96f78f2a94151a7ce
This commit is contained in:
7u83@mail.ru 2018-03-31 15:49:16 +00:00
parent fb4b1298d9
commit d2fe42e686
2 changed files with 5 additions and 8 deletions

View File

@ -123,10 +123,14 @@
/*
#define CW_RECEIVER_AC 1
#define CW_RECEIVER_WTP 1
*/
#define CW_ROLE_AC 1
#define CW_ROLE_WTP 2
#define CW_ROLE_BOTH (CW_ROLE_AC | CW_ROLE_WTP)

View File

@ -36,10 +36,6 @@ enum {
CW_MOD_MODE_BINDINGS
};
enum {
CW_ROLE_AC=1,
CW_ROLE_WTP=2
};
@ -50,9 +46,6 @@ struct cw_Mod {
/** Initializion method */
int (*init) (struct cw_Mod *mod, mavl_t global_cfg, int role);
/** init_config */
/* int (*init_config) (void *);*/
/** Detect capwap
* This function is called after receiving and disassembling a complete
* CAPWAP message. Either on Discovery Request or Join Request.