It's more Cisco compatible now.

FossilOrigin-Name: 9d2b912c08bfa2f9db6168434bbe4c499740bfe6f595373c33afdd8a10560bae
This commit is contained in:
7u83@mail.ru 2015-03-17 06:39:26 +00:00
parent 3fd0037a45
commit 940bed2ae7
1 changed files with 8 additions and 4 deletions

View File

@ -377,10 +377,9 @@ static void wtpman_run_discovery(void *arg)
cwread_discovery_request(&wtpman->wtpinfo,cwrmsg->msgelems,cwrmsg->msgelems_len);
// printf("RMAC-LEN:%d\n",cwrmsg->rmac[0]);
printf("RMAC-LEN:%d\n",cwrmsg->rmac[0]);
printf("HW: %s\n",sock_hwaddr2str(bstr_data(cwrmsg->rmac),bstr_len(cwrmsg->rmac)));
//printf("HW: %s\n",sock_hwaddr2str(bstr_data(cwrmsg->rmac),bstr_len(cwrmsg->rmac)));
@ -391,7 +390,6 @@ printf("HW: %s\n",sock_hwaddr2str(bstr_data(cwrmsg->rmac),bstr_len(cwrmsg->rmac)
cw_dbg(DBG_CW_INFO,"Discovery request gave us the follwing WTP Info:\n%s",wtpinfostr);
struct radioinfo radioinfo;
radioinfo.rid = cwrmsg->rid;
radioinfo.rmac = 0; //&cwrmsg->rmac;
@ -460,6 +458,12 @@ static void wtpman_run_run(void *arg)
cwrmsg = conn_send_request(conn);
*/
for (i=0; i<100; i++){
time_t t = cw_timer_start(1);
printf("Wait...\n");
conn_wait_for_message(conn,t);
}
printf("Set name?\n");
exit(0);