diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-11-16 16:37:40 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-11-16 16:37:40 +0000 |
commit | a3b2f6a3e531bc25391c0b1221f14662c850ce1e (patch) | |
tree | 4dc5658fefbd1392915d427a5b0454132b35dfdd /src/transport/gnunet-helper-transport-wlan.c | |
parent | 0f56e56544af32877705ce24a6b2a59dfa744205 (diff) | |
download | gnunet-a3b2f6a3e531bc25391c0b1221f14662c850ce1e.tar.gz gnunet-a3b2f6a3e531bc25391c0b1221f14662c850ce1e.zip |
-also allow ad-hoc
Diffstat (limited to 'src/transport/gnunet-helper-transport-wlan.c')
-rw-r--r-- | src/transport/gnunet-helper-transport-wlan.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/transport/gnunet-helper-transport-wlan.c b/src/transport/gnunet-helper-transport-wlan.c index bb8b45c64..9920b69ba 100644 --- a/src/transport/gnunet-helper-transport-wlan.c +++ b/src/transport/gnunet-helper-transport-wlan.c | |||
@@ -1669,8 +1669,9 @@ open_device_raw (struct HardwareInfos *dev) | |||
1669 | (wrq.u.mode != IW_MODE_ADHOC) )) | 1669 | (wrq.u.mode != IW_MODE_ADHOC) )) |
1670 | 1670 | ||
1671 | { | 1671 | { |
1672 | fprintf (stderr, "Error: interface `%.*s' is not in monitor or ad-hoc mode\n", | 1672 | fprintf (stderr, "Error: interface `%.*s' is not in monitor or ad-hoc mode (got %d)\n", |
1673 | IFNAMSIZ, dev->iface); | 1673 | IFNAMSIZ, dev->iface, |
1674 | wrq.u.mode); | ||
1674 | return 1; | 1675 | return 1; |
1675 | } | 1676 | } |
1676 | 1677 | ||