X-Git-Url: http://git.osdn.net/view?p=android-x86%2Fexternal-wireless-tools.git;a=blobdiff_plain;f=wireless_tools%2Fiwpriv.c;h=de9861324b1d09065db9ba94ebe116703ba405be;hp=d1da985489456ec24e6b8178886b6dad35c9fcab;hb=37268af80055faf826140ff0c255f495df34b616;hpb=bcc23ab3dacbe0d30b7b5e8adb7badbe2e254a7d diff --git a/wireless_tools/iwpriv.c b/wireless_tools/iwpriv.c index d1da985..de98613 100644 --- a/wireless_tools/iwpriv.c +++ b/wireless_tools/iwpriv.c @@ -1,11 +1,13 @@ /* * Wireless Tools * - * Jean II - HPLB '99 + * Jean II - HPLB 97->99 - HPL 99->00 * * Main code for "iwconfig". This is the generic tool for most * manipulations... * You need to link this code against "iwcommon.c" and "-lm". + * + * This file is released under the GPL license. */ #include "iwcommon.h" /* Header */ @@ -253,7 +255,7 @@ set_private(int skfd, /* Socket */ case IW_PRIV_TYPE_INT: /* Display args */ for(j = 0; j < n; j++) - printf("%d ", ((u_int *) buffer)[i]); + printf("%d ", ((u_int *) buffer)[j]); printf("\n"); break;