diff options
author | Werner Almesberger <werner@openmoko.org> | 2009-01-12 09:04:45 +0000 |
---|---|---|
committer | Andy Green <agreen@pads.home.warmcat.com> | 2009-01-12 09:04:45 +0000 |
commit | 4836494d233cd34fe194ff2040d62e4109067d79 (patch) | |
tree | 7baac59c351fa63f8c16ecfd7079a54f6a1ced7a /ipc | |
parent | 0e94a8adc2f8211e21370f0d63a5652104d4974f (diff) |
AR6k: don't make a fuss if SIOCGIWSCAN returns no nodes
SIOCGIWSCAN can return an empty node list if there are indeed no
nodes but also if we wait too long (more than about 20 seconds)
between initiating the scan and retrieving the list of nodes.
There's nothing suspicious per se about either condition, yet the
AR6k driver returns an error code and printk's a complaint.
This is a bit excessive and can mislead user space into believing
a real error has occurred. This patch make this sort of failure
silent, like in other WLAN drivers, e.g.,
ieee80211_wx.c:ieee80211_wx_get_scan
Signed-off-by: Werner Almesberger <werner@openmoko.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions