openwrt_deco_e4r/package/wireless-tools/patches/100-fix-iwpriv-limit.patch

12 lines
195 B
Diff

--- a/iwlib.c
+++ b/iwlib.c
@@ -650,7 +650,7 @@ iw_get_priv_info(int skfd,
else
maxpriv *= 2;
}
- while(maxpriv < 1000);
+ while(maxpriv <= 1024);
/* Cleanup */
if(priv)