summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-08-23 13:30:11 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 19:02:22 (GMT)
commit118d67df58a5e2e28375951aa7eb6f672e543515 (patch)
tree15531dc3d9c3b7ecd01c6dc6a4ddc4b0502fc027 /drivers
parent256311d34372fa8f7f2fe2af8b5f52f93fe68577 (diff)
downloadlinux-118d67df58a5e2e28375951aa7eb6f672e543515.tar.xz
Staging: rt28x0: add SIOCGIWNAME support to rt_ioctl_giwscan()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/rt2860/sta_ioctl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/rt2860/sta_ioctl.c b/drivers/staging/rt2860/sta_ioctl.c
index 63d5217..a5aa622 100644
--- a/drivers/staging/rt2860/sta_ioctl.c
+++ b/drivers/staging/rt2860/sta_ioctl.c
@@ -981,7 +981,6 @@ int rt_ioctl_giwscan(struct net_device *dev,
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;
@@ -1057,7 +1056,6 @@ int rt_ioctl_giwscan(struct net_device *dev,
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;