Skip to content

Commit

Permalink
Staging: rt28x0: add SIOCGIWNAME support to rt_ioctl_giwscan()
Browse files Browse the repository at this point in the history
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Bartlomiej Zolnierkiewicz authored and Greg Kroah-Hartman committed Sep 15, 2009
1 parent 256311d commit 118d67d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/staging/rt2860/sta_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 118d67d

Please sign in to comment.