[haiku-bugs] Re: [Haiku] #9694: Wifi flakey, wpa_supplicant sometimes crashing

  • From: "diver" <trac@xxxxxxxxxxxx>
  • Date: Sun, 01 Sep 2013 10:13:17 -0000

#9694: Wifi flakey, wpa_supplicant sometimes crashing
-------------------------------------------+----------------------------
   Reporter:  humdinger                    |      Owner:  mmlr
       Type:  bug                          |     Status:  assigned
   Priority:  normal                       |  Milestone:  R1
  Component:  Network & Internet/Wireless  |    Version:  R1/Development
 Resolution:                               |   Keywords:
 Blocked By:                               |   Blocking:
Has a Patch:  0                            |   Platform:  All
-------------------------------------------+----------------------------

Comment (by diver):

 Replying to [comment:5 Pete]:
 > The first thing I did to improve things was to discard using the
 NetworkStatus applet at all and remove it from the Deskbar.  Trying to
 connect via that seemed to work sometimes but usually not.  And when
 things went wrong (often!) it would lock up the Deskbar.  ifconfig from
 the Terminal would sometimes lock up so hard ctrl-C wouldn't kill it and
 neither would ProcessMonitor 'Threads and Usage'.


 Could you try to apply the following change and tell if it changes
 anything for you regarding these lock ups?

 {{{
 diff --git a/src/libs/compat/freebsd_network/device.c
 b/src/libs/compat/freebsd_network/device.c
 index ec2cf94..2b840cc 100644
 --- a/src/libs/compat/freebsd_network/device.c
 +++ b/src/libs/compat/freebsd_network/device.c
 @@ -60,6 +60,7 @@ compat_open(const char *name, uint32 flags, void
 **cookie)
         }

         ifp->if_flags |= IFF_UP;
 +       ifp->flags &= ~DEVICE_CLOSED;
         ifp->if_ioctl(ifp, SIOCSIFFLAGS, NULL);

         *cookie = ifp;
 }}}

--
Ticket URL: <http://dev.haiku-os.org/ticket/9694#comment:6>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: