[PATCH 13/33] Staging: rt28x0: add SIOCGIWNAME support to rt_ioctl_giwscan()

From: Bartlomiej Zolnierkiewicz
Date: Sun Aug 23 2009 - 09:29:54 EST


From: Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx>
Subject: [PATCH] Staging: rt28x0: add SIOCGIWNAME support to rt_ioctl_giwscan()

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx>
---
drivers/staging/rt2860/sta_ioctl.c | 2 --
1 file changed, 2 deletions(-)

Index: b/drivers/staging/rt2860/sta_ioctl.c
===================================================================
--- a/drivers/staging/rt2860/sta_ioctl.c
+++ b/drivers/staging/rt2860/sta_ioctl.c
@@ -979,7 +979,6 @@ int rt_ioctl_giwscan(struct net_device *

previous_ev = current_ev;
current_ev = iwe_stream_add_event(info, current_ev,end_buf, &iwe, IW_EV_ADDR_LEN);
-#ifdef RT30xx
if (current_ev == previous_ev)
return -E2BIG;

@@ -1055,7 +1054,6 @@ int rt_ioctl_giwscan(struct net_device *

previous_ev = current_ev;
current_ev = iwe_stream_add_event(info, current_ev, end_buf, &iwe, IW_EV_ADDR_LEN);
-#endif /* RT30xx */
if (current_ev == previous_ev)
return -E2BIG;

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/