projects
/
oweals
/
iwinfo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
iwinfo: Fix 802.11ad channel to frequency
[oweals/iwinfo.git]
/
iwinfo_nl80211.c
diff --git
a/iwinfo_nl80211.c
b/iwinfo_nl80211.c
index 13c69e3112292db0a513590ca1427904e6bca81c..200be28d9a44aeb1e95528e10c2f0c63abf13046 100644
(file)
--- a/
iwinfo_nl80211.c
+++ b/
iwinfo_nl80211.c
@@
-1207,7
+1207,7
@@
static int nl80211_get_frequency_info_cb(struct nl_msg *msg, void *arg)
static int nl80211_get_frequency(const char *ifname, int *buf)
{
- char *res, channel[4], hwmode[
2
];
+ char *res, channel[4], hwmode[
3
];
/* try to find frequency from interface info */
res = nl80211_phy2ifname(ifname);