2011-07-13 08:41:29

by Johannes Berg

[permalink] [raw]
Subject: [PATCH 04/11] ath5k: remove wireless extensions inclusions

From: Johannes Berg <[email protected]>

linux/wireless.h and net/iw_handler.h headers are
for wireless extensions only, so mac80211 drivers
shouldn't be including them.

Signed-off-by: Johannes Berg <[email protected]>
---
drivers/net/wireless/ath/ath5k/base.h | 1 -
1 file changed, 1 deletion(-)

--- a/drivers/net/wireless/ath/ath5k/base.h 2011-07-13 10:07:03.000000000 +0200
+++ b/drivers/net/wireless/ath/ath5k/base.h 2011-07-13 10:07:07.000000000 +0200
@@ -43,7 +43,6 @@

#include <linux/interrupt.h>
#include <linux/list.h>
-#include <linux/wireless.h>
#include <linux/if_ether.h>
#include <linux/leds.h>
#include <linux/rfkill.h>




2011-07-13 14:16:07

by Pavel Roskin

[permalink] [raw]
Subject: Re: [PATCH 04/11] ath5k: remove wireless extensions inclusions

On 07/13/2011 04:39 AM, Johannes Berg wrote:
> From: Johannes Berg<[email protected]>
>
> linux/wireless.h and net/iw_handler.h headers are
> for wireless extensions only, so mac80211 drivers
> shouldn't be including them.
>
> Signed-off-by: Johannes Berg<[email protected]>

Acked-by: Pavel Roskin <[email protected]>

--
Regards,
Pavel Roskin