Remove errormessage at hostapd channel set.
authorArne Fitzenreiter <arne_f@ipfire.org>
Wed, 15 Sep 2010 15:39:32 +0000 (17:39 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 15 Sep 2010 15:39:32 +0000 (17:39 +0200)
src/initscripts/init.d/hostapd

index 9a40082..3108339 100644 (file)
@@ -74,7 +74,7 @@ case "${1}" in
                        fi
                fi
 
-               /usr/sbin/iwconfig $INTERFACE channel $CHANNEL
+               /usr/sbin/iwconfig $INTERFACE channel $CHANNEL 2>/dev/null
                /usr/sbin/iwconfig $INTERFACE txpower $TXPOWER
 
                /usr/bin/hostapd -P /var/run/hostapd /etc/hostapd.conf >/dev/null 2>&1 &