projects
/
openwrt
/
staging
/
thess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cfa39f
)
libiwinfo: fix hw mode detection
author
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 3 Dec 2011 18:13:38 +0000
(18:13 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 3 Dec 2011 18:13:38 +0000
(18:13 +0000)
SVN-Revision: 29417
package/iwinfo/src/iwinfo_wext.c
patch
|
blob
|
history
diff --git
a/package/iwinfo/src/iwinfo_wext.c
b/package/iwinfo/src/iwinfo_wext.c
index 314882ad91829102995f5b0d8286fe23a9986ca5..283f77e9f8e805b3bf4449021709b28b68e315f6 100644
(file)
--- a/
package/iwinfo/src/iwinfo_wext.c
+++ b/
package/iwinfo/src/iwinfo_wext.c
@@
-428,6
+428,8
@@
int wext_get_hwmodelist(const char *ifname, int *buf)
struct iwinfo_freqlist_entry *e = NULL;
int len = 0;
+ *buf = 0;
+
if( !wext_get_freqlist(ifname, chans, &len) )
{
for( e = (struct iwinfo_freqlist_entry *)chans; e->channel; e++ )