- else if((w_hdr->frame_ctl & IEEE802_11_STYPE_BEACON)>0)
- strcpy(tmp_buf,"beacon");
+ else if((w_hdr->frame_ctl & IEEE802_11_STYPE_BEACON)==IEEE802_11_STYPE_BEACON) {
+ // beacon_hdr=(struct beacon_struct *)(package+p_o+w_o);
+ // printf("ssid: ");
+ // for(i=0;i<(((beacon_hdr->ssid)&0x2)>>
+ // strcpy(tmp_buf,"beacon");
+ }