It's more Cisco compatible now.
FossilOrigin-Name: 9d2b912c08bfa2f9db6168434bbe4c499740bfe6f595373c33afdd8a10560bae
This commit is contained in:
		@ -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);	
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user