mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 01:43:08 +02:00
[package] libiwinfo: fix hw mode detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29417 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
11a837ce02
commit
ec376e8870
@ -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…
Reference in New Issue
Block a user