mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
Fix hostapd ht and vht
This commit is contained in:
parent
bfa99147cd
commit
3fe77d4ad0
6 changed files with 77 additions and 53 deletions
|
|
@ -121,7 +121,7 @@ void *receive_msg(void *args) {
|
|||
|
||||
int send_string(char *msg) {
|
||||
pthread_mutex_lock(&send_mutex);
|
||||
/*int msglen = strlen(msg);
|
||||
size_t msglen = strlen(msg);
|
||||
//printf("Sending string! %s\n", msg);
|
||||
if (sendto(sock,
|
||||
msg,
|
||||
|
|
@ -130,8 +130,9 @@ int send_string(char *msg) {
|
|||
(struct sockaddr *) &addr,
|
||||
sizeof(addr)) < 0) {
|
||||
perror("sendto()");
|
||||
pthread_mutex_unlock(&send_mutex);
|
||||
exit(EXIT_FAILURE);
|
||||
}*/
|
||||
}
|
||||
pthread_mutex_unlock(&send_mutex);
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue