Changeset 3476 for madwifi/trunk/tools/wlanconfig.c
- Timestamp:
- 04/09/08 05:24:05 (4 years ago)
- Files:
-
- madwifi/trunk/tools/wlanconfig.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
madwifi/trunk/tools/wlanconfig.c
r3244 r3476 285 285 { 286 286 fprintf(stderr, "usage: wlanconfig athX create [nounit] wlandev wifiY\n"); 287 fprintf(stderr, " wlanmode [sta|adhoc|ap|monitor|wds|ahdemo] [ bssid | -bssid] [nosbeacon]\n");287 fprintf(stderr, " wlanmode [sta|adhoc|ap|monitor|wds|ahdemo] [uniquebssid]\n"); 288 288 fprintf(stderr, "usage: wlanconfig athX destroy\n"); 289 289 fprintf(stderr, "usage: wlanconfig athX list [active|ap|caps|chan|freq|keys|scan|sta|wme]\n"); … … 319 319 320 320 cp = (s[0] == '-' ? s + 1 : s); 321 if (strcmp(cp, "bssid") == 0) 321 if (strcmp(cp, "bssid") == 0) { 322 printf("WARNING: the -bssid and bssid flags are deprecated.\n"); 322 323 flag = IEEE80211_CLONE_BSSID; 323 if (strcmp(cp, "nosbeacon") == 0) 324 flag |= IEEE80211_NO_STABEACONS; 324 } 325 if (strcmp(cp, "uniquebssid") == 0) 326 flag = IEEE80211_CLONE_BSSID; 327 if (strcmp(cp, "nosbeacon") == 0) { 328 printf("WARNING: the nosbeacon flag has been deprecated.\n"); 329 return 0; /* deprecated but skip */ 330 } 325 331 if (flag == 0) 326 332 errx(1, "unknown create option %s", s);
