Hi Guys,

Just a note that may be helpful for tracking this down here is what I
found out lately.

If in "drivers/net/wireless/marvell/mwifiex/cmdevt.c" file,
"mwifiex_cmd_timeout_func(struct timer_list *t)" function I comment out
these:

//if (adapter->if_ops.device_dump)
//    adapter->if_ops.device_dump(adapter);

//if (adapter->if_ops.card_reset)
//    adapter->if_ops.card_reset(adapter);

The wifi will still drop with the timeout command but at least the
mwifiex_pcie module wont freeze and so you will be able to restart or
even put the pc into sleep and after a resume simply continue where you
left off without having to do a hard restart by long pressing power
button.

It seems the card_reset(adapter) function is the one freezing the module
and so freezing the wifi, so will try to see what's there but if any of
you have any idea how we could reset the adapter and even (just for
testing why not) always reload the firmware and see if that fixes it as
it seems the resume does the same thing and that makes things work
again.

Regards,
Julius

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1730924

Title:
  Wifi does down "crash" in Surface Pro 4

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1730924/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to