[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#399607: ipw3945d: WLAN Interface isn't available on bootup when networking is started



Package: ipw3945d
Version: 1.7.22-1
Severity: wishlist
Tags: patch

On bootup first of all the ipw3945 module is loaded and few tasks later the ipw3945d gets started. But the ipw3945d hasn't enough time to make the WLAN Interface available. So when networking starts
it fails to bring up wlan.

My suggestion is to add 'sleep 1' at the end of method start_daemon(), what solves this inconvenience in my case.


start_daemon() {
  if have_sys_entries; then
    remove_stale_pid
    log_daemon_msg "Starting ipw3945 regulatory daemon" "ipw3945d"
start-stop-daemon --start --quiet --chuid "${DAEMON_OWNER}" \ --exec "${DAEMON_BINARY}" --pidfile "${DAEMON_PID_FILE}" \ --oknodo -- --pid-file=${DAEMON_PID_FILE} --quiet \
                      --log-file=${DAEMON_LOG_FILE} > /dev/null 2>&1
    code=$?
    log_end_msg ${code}
  else
log_warning_msg "Not starting ipw3945 regulatory daemon, driver not loaded."
  fi
  sleep 1;
#^^^^^^^^^^
}



-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (990, 'testing'), (200, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.8-1
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)



Reply to: