linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [TODO] at76c50x: remove wext includes
@ 2011-07-13  8:47 Johannes Berg
  2011-07-13  8:52 ` Kalle Valo
  0 siblings, 1 reply; 7+ messages in thread
From: Johannes Berg @ 2011-07-13  8:47 UTC (permalink / raw)
  To: linux-wireless; +Cc: Kalle Valo

Not possible right now:
at76c50x-usb.h:404:11: error: ‘IW_ESSID_MAX_SIZE’ undeclared here (not in a function)
at76c50x-usb.c: In function ‘at76_startup_device’:
at76c50x-usb.c:1371:263: error: ‘IW_MODE_ADHOC’ undeclared (first use in this function)
at76c50x-usb.c:1371:263: note: each undeclared identifier is reported only once for each function it appears in
at76c50x-usb.c: In function ‘at76_add_interface’:
at76c50x-usb.c:1863:19: error: ‘IW_MODE_INFRA’ undeclared (first use in this function)
at76c50x-usb.c: In function ‘at76_init_new_device’:
at76c50x-usb.c:2269:18: error: ‘IW_MODE_INFRA’ undeclared (first use in this function)

but none of those constants should be used in a mac80211 driver.

Also this driver is missing a MAINTAINERS entry.

Cc: Kalle Valo <kalle.valo@iki.fi>
---
 drivers/net/wireless/at76c50x-usb.c |    2 --
 1 file changed, 2 deletions(-)

--- a/drivers/net/wireless/at76c50x-usb.c	2011-07-13 10:09:37.000000000 +0200
+++ b/drivers/net/wireless/at76c50x-usb.c	2011-07-13 10:09:40.000000000 +0200
@@ -38,8 +38,6 @@
 #include <linux/if_arp.h>
 #include <linux/etherdevice.h>
 #include <linux/ethtool.h>
-#include <linux/wireless.h>
-#include <net/iw_handler.h>
 #include <net/ieee80211_radiotap.h>
 #include <linux/firmware.h>
 #include <linux/leds.h>



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

end of thread, other threads:[~2011-07-16 11:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-13  8:47 [TODO] at76c50x: remove wext includes Johannes Berg
2011-07-13  8:52 ` Kalle Valo
2011-07-13 10:35   ` Julian Calaby
2011-07-13 10:50     ` Kalle Valo
2011-07-13 11:15       ` Julian Calaby
2011-07-13 13:54   ` Pavel Roskin
2011-07-16 11:41     ` Kalle Valo

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).