Changeset 29993


Ignore:
Timestamp:
2012-02-02T15:06:59+01:00 (6 years ago)
Author:
jow
Message:

[backfire] iwinfo: backport r29992

Location:
branches/backfire/package/iwinfo
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/backfire/package/iwinfo/Makefile

    r29859 r29993  
    88 
    99PKG_NAME:=libiwinfo 
    10 PKG_RELEASE:=18.1 
     10PKG_RELEASE:=18.2 
    1111 
    1212PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) 
  • branches/backfire/package/iwinfo/src/iwinfo_nl80211.c

    r29859 r29993  
    388388 
    389389 
    390         send(sock, "ATTACH", 6, 0); 
    391  
    392         if (nl80211_wpactl_recv(sock, buffer, sizeof(buffer)) <= 0) 
    393                 goto out; 
     390        if (event) 
     391        { 
     392                send(sock, "ATTACH", 6, 0); 
     393 
     394                if (nl80211_wpactl_recv(sock, buffer, sizeof(buffer)) <= 0) 
     395                        goto out; 
     396        } 
    394397 
    395398 
     
    406409                } 
    407410 
    408                 if ((!event && buffer[0] != '<') || strstr(buffer, event)) 
     411                if ((!event && buffer[0] != '<') || (event && strstr(buffer, event))) 
    409412                        break; 
    410413        } 
Note: See TracChangeset for help on using the changeset viewer.