diff options
author | Jouni Malinen <jouni.malinen@atheros.com> | 2010-12-16 16:11:54 +0200 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2010-12-16 16:11:54 +0200 |
commit | b3a6d9d40064e15720c3bbd6cfbfbf970a770a03 (patch) | |
tree | c96ab043c722a2e5c82c2307e800ded3ceda2867 /src/utils/common.c | |
parent | b993e77b5b9c3f2c6a42aa76e0d5a0ef0cf34f54 (diff) | |
download | external_wpa_supplicant_8_ti-b3a6d9d40064e15720c3bbd6cfbfbf970a770a03.zip external_wpa_supplicant_8_ti-b3a6d9d40064e15720c3bbd6cfbfbf970a770a03.tar.gz external_wpa_supplicant_8_ti-b3a6d9d40064e15720c3bbd6cfbfbf970a770a03.tar.bz2 |
wlantest: Add send command for injecting raw frames
This can be used by external programs (e.g., wlantest_cli) to inject
raw frames (hex dump of the frame header and body). The data can be
requested to be sent as-is or protected with the current key.
Diffstat (limited to 'src/utils/common.c')
-rw-r--r-- | src/utils/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/common.c b/src/utils/common.c index 1b8ea80..718be4a 100644 --- a/src/utils/common.c +++ b/src/utils/common.c @@ -29,7 +29,7 @@ static int hex2num(char c) } -static int hex2byte(const char *hex) +int hex2byte(const char *hex) { int a, b; a = hex2num(*hex++); |