libiwinfo: fix hw mode detection

SVN-Revision: 29417
master
Jo-Philipp Wich 13 years ago
parent 7cfa39f032
commit 83e6c14f82
  1. 2
      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++ )

Loading…
Cancel
Save