[patch] iwi(4) suspend/resume broken

Bernhard Schmidt bschmidt at freebsd.org
Thu Mar 15 08:05:35 UTC 2012


On Wed, Mar 14, 2012 at 22:03, Mitsuru IWASAKI <iwasaki at jp.freebsd.org> wrote:
> Hi,
>
>> Hi
>>
>> The wpi driver in 9.0 also suffers from a suspend/resume problem. Do you think
>> that you patch will fix the wpi driver as well ?
>
> Yes, I think so.  Please try the patch at:
> http://people.freebsd.org/~iwasaki/wlan/wpi-20120315.diff
>
> The patch for ipw(4) also available, anyone try this?
> http://people.freebsd.org/~iwasaki/wlan/ipw-20120315.diff
>
> Thanks!

Hmm, I'm not sure I like this direct, unconditional fiddling with a
VAP's state in the stop function, have you made sure that there are no
side effects? eg. in case no VAP exists? I remember running into issue
while doing that on iwn(4) and it helped to not have any knowledge
about ic or vap in either init() or stop(). Well, I've settled for
ieee80211_stop() and ieee80211_start() in suspend/resume, which seems
to work.

--
Bernhard


More information about the freebsd-wireless mailing list