dect
/
linux-2.6
Archived
13
0
Fork 0

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>
This commit is contained in:
Bartlomiej Zolnierkiewicz 2009-08-23 15:30:11 +02:00 committed by Greg Kroah-Hartman
parent 256311d343
commit 118d67df58
1 changed files with 0 additions and 2 deletions

View File

@ -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;