backports.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] backport: remove wext warning
@ 2021-04-16  9:56 Johannes Berg
  2021-05-04 21:35 ` Hauke Mehrtens
  0 siblings, 1 reply; 2+ messages in thread
From: Johannes Berg @ 2021-04-16  9:56 UTC (permalink / raw)
  To: backports; +Cc: Johannes Berg

From: Johannes Berg <johannes.berg@intel.com>

wireless extensions are being used less, so remove the
warning about them not working - most people probably
won't ever see any failures, and even if not see the
warning.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
---
 .../0010-add-wext-handlers-to-netdev/net_wireless_core.patch | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/patches/0010-add-wext-handlers-to-netdev/net_wireless_core.patch b/patches/0010-add-wext-handlers-to-netdev/net_wireless_core.patch
index 18b50f12601b..6397a04e1e40 100644
--- a/patches/0010-add-wext-handlers-to-netdev/net_wireless_core.patch
+++ b/patches/0010-add-wext-handlers-to-netdev/net_wireless_core.patch
@@ -18,11 +18,6 @@
 +#ifdef CONFIG_WIRELESS_EXT
 +	if (!wdev->netdev->wireless_handlers)
 +		wdev->netdev->wireless_handlers = &cfg80211_wext_handler;
-+#else
-+	printk_once(KERN_WARNING "cfg80211: wext will not work because "
-+		    "kernel was compiled with CONFIG_WIRELESS_EXT=n. "
-+		    "Tools using wext interface, like iwconfig will "
-+		    "not work.\n");
 +#endif
  	wdev->wext.default_key = -1;
  	wdev->wext.default_mgmt_key = -1;
-- 
2.30.2

--
To unsubscribe from this list: send the line "unsubscribe backports" in

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] backport: remove wext warning
  2021-04-16  9:56 [PATCH] backport: remove wext warning Johannes Berg
@ 2021-05-04 21:35 ` Hauke Mehrtens
  0 siblings, 0 replies; 2+ messages in thread
From: Hauke Mehrtens @ 2021-05-04 21:35 UTC (permalink / raw)
  To: Johannes Berg, backports; +Cc: Johannes Berg

On 4/16/21 11:56 AM, Johannes Berg wrote:
> From: Johannes Berg <johannes.berg@intel.com>
> 
> wireless extensions are being used less, so remove the
> warning about them not working - most people probably
> won't ever see any failures, and even if not see the
> warning.
> 
> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
> ---

Thank you, I fixed it and applied. The offset in the patch was not changed.

>   .../0010-add-wext-handlers-to-netdev/net_wireless_core.patch | 5 -----
>   1 file changed, 5 deletions(-)
> 
> diff --git a/patches/0010-add-wext-handlers-to-netdev/net_wireless_core.patch b/patches/0010-add-wext-handlers-to-netdev/net_wireless_core.patch
> index 18b50f12601b..6397a04e1e40 100644
> --- a/patches/0010-add-wext-handlers-to-netdev/net_wireless_core.patch
> +++ b/patches/0010-add-wext-handlers-to-netdev/net_wireless_core.patch
> @@ -18,11 +18,6 @@
>   +#ifdef CONFIG_WIRELESS_EXT
>   +	if (!wdev->netdev->wireless_handlers)
>   +		wdev->netdev->wireless_handlers = &cfg80211_wext_handler;
> -+#else
> -+	printk_once(KERN_WARNING "cfg80211: wext will not work because "
> -+		    "kernel was compiled with CONFIG_WIRELESS_EXT=n. "
> -+		    "Tools using wext interface, like iwconfig will "
> -+		    "not work.\n");
>   +#endif
>    	wdev->wext.default_key = -1;
>    	wdev->wext.default_mgmt_key = -1;
> 

--
To unsubscribe from this list: send the line "unsubscribe backports" in

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-04 21:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-16  9:56 [PATCH] backport: remove wext warning Johannes Berg
2021-05-04 21:35 ` Hauke Mehrtens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).