#define MESSAGE_MAX 64
#define CHANNEL_MAX 13
#define MAX_DEV_CHARS 6
-#define MAX_SYSCALL_CHARS 64
+#define MAX_SYSCALL_CHARS 128
#define HDW_SNIFF_MAX_WIDTH 80
#define HDW_SNIFF_MAX_HEIGHT 8
string[22+3*ADDR_LEN+1]=0;
display_console(info,string);
if(new) {
- snprintf(sc,MAX_SYSCALL_CHARS,"flite 'new ssid: %s'",sta->ssid);
+ snprintf(sc,MAX_SYSCALL_CHARS,
+ "flite 'access point found: %s'",
+ sta->ssid);
+ system(sc);
+ if(sta->wep&WEP) strncpy(sc,"flite ' crypted'",MAX_SYSCALL_CHARS);
+ else strncpy(sc,"flite 'not crypted'",MAX_SYSCALL_CHARS);
system(sc);
}
}