Some testing
FossilOrigin-Name: 38ae9c87022d37b9fbdd836a7cfabc505d26b856819956747195ba9f160fd758
This commit is contained in:
parent
52562f3c4d
commit
23c5afe425
@ -111,8 +111,18 @@ int cw_cisco_get_wlan_(mbag_t wlan, uint8_t *data, int len)
|
||||
int cisco_in_add_wlan(struct conn *conn, struct cw_action_in *a, uint8_t * data, int len,
|
||||
struct sockaddr *from)
|
||||
{
|
||||
|
||||
cw_dbg (DBG_X,"Add WLAN");
|
||||
|
||||
int rid = cw_get_byte(data);
|
||||
cw_dbg (DBG_X, "RID = %d",rid);
|
||||
|
||||
bstr_t mac = bstr_create(data+1,6);
|
||||
cw_dbg (DBG_X, "MAC: %s",sock_hwaddr2str(bstr_data(mac),bstr_len(mac)));
|
||||
|
||||
|
||||
return 0;
|
||||
|
||||
|
||||
mbag_t wlan = mbag_i_get_mbag(conn->radios,rid,NULL);
|
||||
if ( !wlan ) {
|
||||
printf("No Radio git\n");
|
||||
|
Loading…
Reference in New Issue
Block a user