Ack: [Raring][Saucy][PATCH 1/1] mwifiex: do not create AP and P2P interfaces upon driver loading

Brad Figg brad.figg at canonical.com
Sat Aug 24 14:12:37 UTC 2013


On 08/23/2013 12:03 PM, Joseph Salisbury wrote:
> BugLink: https://bugs.launchpad.net/bugs/1212720
> 
> Signed-off-by: Bing Zhao <bzhao at marvell.com>
> Signed-off-by: Avinash Patil <patila at marvell.com>
> Signed-off-by: Joseph Salisbury <joseph.salisbury at canonical.com>
> 
> ---
>  drivers/net/wireless/mwifiex/main.c |   14 --------------
>  1 file changed, 14 deletions(-)
> 
> diff --git a/drivers/net/wireless/mwifiex/main.c b/drivers/net/wireless/mwifiex/main.c
> index 1753431..108267d 100644
> --- a/drivers/net/wireless/mwifiex/main.c
> +++ b/drivers/net/wireless/mwifiex/main.c
> @@ -458,20 +458,6 @@ static void mwifiex_fw_dpc(const struct firmware *firmware, void *context)
>  		dev_err(adapter->dev, "cannot create default STA interface\n");
>  		goto err_add_intf;
>  	}
> -
> -	/* Create AP interface by default */
> -	if (!mwifiex_add_virtual_intf(adapter->wiphy, "uap%d",
> -				      NL80211_IFTYPE_AP, NULL, NULL)) {
> -		dev_err(adapter->dev, "cannot create default AP interface\n");
> -		goto err_add_intf;
> -	}
> -
> -	/* Create P2P interface by default */
> -	if (!mwifiex_add_virtual_intf(adapter->wiphy, "p2p%d",
> -				      NL80211_IFTYPE_P2P_CLIENT, NULL, NULL)) {
> -		dev_err(adapter->dev, "cannot create default P2P interface\n");
> -		goto err_add_intf;
> -	}
>  	rtnl_unlock();
>  
>  	mwifiex_drv_get_driver_version(adapter, fmt, sizeof(fmt) - 1);
> 


-- 
Brad Figg brad.figg at canonical.com http://www.canonical.com




More information about the kernel-team mailing list