diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/libertas/ioctl.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/net/wireless/libertas/ioctl.c b/drivers/net/wireless/libertas/ioctl.c index 5a5863239067..cfb4752b3bce 100644 --- a/drivers/net/wireless/libertas/ioctl.c +++ b/drivers/net/wireless/libertas/ioctl.c | |||
@@ -674,17 +674,7 @@ static int wlan_fwt_list_route_ioctl(wlan_private * priv, struct ifreq *req) | |||
674 | cmd_option_waitforrsp, 0, (void *)&fwt_access); | 674 | cmd_option_waitforrsp, 0, (void *)&fwt_access); |
675 | 675 | ||
676 | if (ret == 0) { | 676 | if (ret == 0) { |
677 | pbuf += sprintf(pbuf, " "); | 677 | print_route(fwt_access, pbuf); |
678 | pbuf += eth_addr2str(fwt_access.da, pbuf); | ||
679 | pbuf += sprintf(pbuf, " %u", le32_to_cpu(fwt_access.metric)); | ||
680 | pbuf += sprintf(pbuf, " %u", fwt_access.dir); | ||
681 | /* note that the firmware returns the nid in the id field */ | ||
682 | pbuf += sprintf(pbuf, " %u", le32_to_cpu(fwt_access.id)); | ||
683 | pbuf += sprintf(pbuf, " %u", le32_to_cpu(fwt_access.ssn)); | ||
684 | pbuf += sprintf(pbuf, " %u", le32_to_cpu(fwt_access.dsn)); | ||
685 | pbuf += sprintf(pbuf, " hop %u", fwt_access.hopcount); | ||
686 | pbuf += sprintf(pbuf, " ttl %u", fwt_access.ttl); | ||
687 | pbuf += sprintf(pbuf, " %u", le32_to_cpu(fwt_access.expiration)); | ||
688 | } else | 678 | } else |
689 | pbuf += sprintf(pbuf, " (null)"); | 679 | pbuf += sprintf(pbuf, " (null)"); |
690 | 680 | ||