We can join an 1131 AP, and bring up a WLAN

data channel is currently missing
This commit is contained in:
2022-09-01 23:09:33 +02:00
parent 5ed35979cd
commit 27506fa788
9 changed files with 149 additions and 20 deletions

View File

@ -615,7 +615,7 @@ struct cw_Cfg_entry *cw_cfg_iter_next(struct cw_Cfg_iter *cfi, const char *nnkey
{
struct cw_Cfg_entry *e;
int bl, kl;
const char *d;
// const char *d;
e = mavliter_get(&(cfi->it));
if (e == NULL){
return NULL;
@ -688,7 +688,7 @@ uint8_t cw_cfg_get_byte_l(cw_Cfg_t ** cfgs, char *key, uint8_t def)
return v.val.byte;
}
uint16_t cw_cfg_get_int(cw_Cfg_t * cfg, const char *key, int def)
int cw_cfg_get_int(cw_Cfg_t * cfg, const char *key, int def)
{
const char *s = cw_cfg_get(cfg,key,NULL);
if (s==NULL)

View File

@ -89,7 +89,7 @@ void cw_cfg_del(cw_Cfg_t * cfg, const char *key);
int cw_cfg_get_first_index(cw_Cfg_t * cfg, const char *key, int n);
int cw_cfg_get_first_index_l(cw_Cfg_t ** cfgs, const char *key, int n);
uint16_t cw_cfg_get_int(cw_Cfg_t * cfg, const char *key, int def);
int cw_cfg_get_int(cw_Cfg_t * cfg, const char *key, int def);