
https://bugzilla.novell.com/show_bug.cgi?id=478513 User mt@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=478513#c2 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |hschaa@novell.com --- Comment #2 from Marius Tomaschewski <mt@novell.com> 2009-02-24 03:59:45 MST --- I'd say we should not set WIRELESS_NICK to the hostname when it is empty; or is this required for a driver to always provide a nick? My fix would look like this at the moment: --- ifup-wireless.11.1 2009-01-27 14:53:26.000000000 +0100 +++ ifup-wireless 2009-02-24 11:50:58.000000000 +0100 @@ -277,14 +277,15 @@ # Mode need to be first : some settings apply only in a specific mode ! run_iw_tool config mode $WIRELESS_MODE # This is a bit hackish, but should do the job right... - if [ -n "$WIRELESS_ESSID" -o -n "$WIRELESS_MODE" ] ; then - test -z "$WIRELESS_NICK" && WIRELESS_NICK=`/bin/hostname` - fi + #if [ -n "$WIRELESS_ESSID" -o -n "$WIRELESS_MODE" ] ; then + # test -z "$WIRELESS_NICK" && WIRELESS_NICK=`/bin/hostname` + #fi # Regular stuff... while read OPT ARG; do run_iw_tool config $OPT "$ARG" done <<-EOL nick $WIRELESS_NICK nwid $WIRELESS_NWID freq $WIRELESS_FREQ channel $WIRELESS_CHANNEL Note, that the run_iw_tool function skips all calls with empty $ARG. Helmut, OK? I'll apply this fix to my queue at home:mtomaschewski:11.1/sysconfig on build.opensuse.org and let you know when this fix is available as test rpm. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.