From: Bartlomiej Zolnierkiewicz Date: Sun, 23 Aug 2009 13:30:11 +0000 (+0200) Subject: Staging: rt28x0: add SIOCGIWNAME support to rt_ioctl_giwscan() X-Git-Tag: MMI-PSA29.97-13-9~26941^2~123 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=118d67df58a5e2e28375951aa7eb6f672e543515;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Staging: rt28x0: add SIOCGIWNAME support to rt_ioctl_giwscan() Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rt2860/sta_ioctl.c b/drivers/staging/rt2860/sta_ioctl.c index 63d52179862a..a5aa6227ab47 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;