CW_ROLS... moved to cw.h

FossilOrigin-Name: c36fbcb217dfa2d5fb0694c2e40229524a99db5aa872c0d96f78f2a94151a7ce
bsdmakefiles
7u83@mail.ru 6 years ago
parent fb4b1298d9
commit d2fe42e686
  1. 6
      src/cw/cw.h
  2. 7
      src/cw/mod.h

@ -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)

@ -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.

Loading…
Cancel
Save