Re: [OpenWrt-Devel] [PATCH] mac80211: remove error from detect script

2014-10-03 Thread John Crispin
On 03/10/2014 19:37, Jo-Philipp Wich wrote: > Hi Michel, John. > >>> - for dev in $(ls /sys/class/ieee80211); do >>> + for dev in $(ls /sys/class/ieee80211 2>/dev/null); do >> what error do you see ? if you see an error we should try to fix that >> rather than supressing it > I suppose the cas

Re: [OpenWrt-Devel] [PATCH] mac80211: remove error from detect script

2014-10-03 Thread Jo-Philipp Wich
Hi Michel, John. >> -for dev in $(ls /sys/class/ieee80211); do >> +for dev in $(ls /sys/class/ieee80211 2>/dev/null); do > what error do you see ? if you see an error we should try to fix that > rather than supressing it I suppose the case when "wifi detect" is invoked but no phy exists o

Re: [OpenWrt-Devel] [PATCH] mac80211: remove error from detect script

2014-10-03 Thread John Crispin
On 02/10/2014 15:28, Michel Stam wrote: > Signed-off-by: Michel Stam > --- > package/kernel/mac80211/files/lib/wifi/mac80211.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/kernel/mac80211/files/lib/wifi/mac80211.sh > b/package/kernel/mac80211/files/lib/wifi/

[OpenWrt-Devel] [PATCH] mac80211: remove error from detect script

2014-10-02 Thread Michel Stam
Signed-off-by: Michel Stam --- package/kernel/mac80211/files/lib/wifi/mac80211.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/mac80211/files/lib/wifi/mac80211.sh b/package/kernel/mac80211/files/lib/wifi/mac80211.sh index a3b2199..2af4dc5 100644 --- a/packag