Bug 60747

Summary: 1286:2044 [Microsoft Surface Pro] Marvell 88W8797 wifi show 3 interface under network manager
Product: Networking Reporter: thariman
Component: WirelessAssignee: networking_wireless (networking_wireless)
Status: CLOSED CODE_FIX    
Severity: high CC: alan, bzhao, thariman
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 3.11.0-031100rc5-generic Subsystem:
Regression: No Bisected commit-id:

Description thariman 2013-08-15 15:38:25 UTC
Under the network management the wifi will show 3 times.
When try to connect to an AP with WPA2 it will ask 3 times the passphrase.
But unable to connect.

You can see:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1212720

for the ubuntu-bug linux report.
Comment 1 Bing Zhao 2013-08-15 19:03:14 UTC
There are 3 network interfaces with different types being created when driver is loaded.

1. mlan0 (infra. STA)
2. uap0 (AP)
3. p2p0 (P2P_CLIENT)

Only mlan0 is for infra STA use. Doesn't the network manager check the type and only list the interface with STA type?
Comment 2 thariman 2013-08-15 23:31:48 UTC
It show all 3 interface and try to configure all 3 at the same times.
It asked 3 passphrase.

(In reply to Bing Zhao from comment #1)
> There are 3 network interfaces with different types being created when
> driver is loaded.
> 
> 1. mlan0 (infra. STA)
> 2. uap0 (AP)
> 3. p2p0 (P2P_CLIENT)
> 
> Only mlan0 is for infra STA use. Doesn't the network manager check the type
> and only list the interface with STA type?
Comment 3 Bing Zhao 2013-08-19 23:21:12 UTC
https://patchwork.kernel.org/patch/2846729/

This patch should workaround it.
Comment 4 thariman 2013-08-20 00:57:40 UTC
Is this patch going to be push upstream ?
Comment 5 Bing Zhao 2013-08-20 02:12:24 UTC
Yes. The link I provided @c#3 is the upstream patch.
Comment 6 thariman 2013-08-23 08:10:25 UTC
Tried the patch and it solved the problem.

Thank you
Comment 7 thariman 2013-08-26 08:14:26 UTC
Bing Zhao,

Doesn't look like this patch make it to rc7.  Is this going to be in the release version ?

Thank you
Comment 8 Bing Zhao 2013-08-26 18:57:45 UTC
It was submitted for 3.12.
If you want it in 3.11 we can resend the patch (with commit ID from linux.git) to 3.11-stable later.
Comment 9 thariman 2013-08-27 00:41:06 UTC
Bing Zhao,

Yes it would be nice if it will be in 3.11.
Otherwise it need to be done by all the distro.

Thank you.
Comment 10 Bing Zhao 2013-09-18 02:22:50 UTC
It's in linux-stable 3.11.1 now.

5c68732 Linux 3.11.1
ae7ab51 mwifiex: do not create AP and P2P interfaces upon driver loading