wificurse

wifi jamming tool
git clone git://git.2f30.org/wificurse.git
Log | Files | Refs | README | LICENSE

commit 00429c22df2816dac503e26f7fa9176528ecc9c2
parent eeafc115a6167aa3557e52beb1bb39b77de7880e
Author: oblique <psyberbits@gmail.com>
Date:   Thu Mar  1 20:45:23 +0200

change a comment

Diffstat:
wificurse.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/wificurse.c b/wificurse.c @@ -181,7 +181,7 @@ int iw_set_channel(struct dev *dev, int chan) { int rcvbuflen, old_rcvbuflen; socklen_t optlen; - /* get receive buffer size */ + /* save current receive buffer size */ optlen = sizeof(old_rcvbuflen); if (getsockopt(dev->fd, SOL_SOCKET, SO_RCVBUF, &old_rcvbuflen, &optlen) < 0) return_error("getsockopt(SO_RCVBUF)"); @@ -201,7 +201,7 @@ int iw_set_channel(struct dev *dev, int chan) { return_error("ioctl(SIOCSIWFREQ)"); dev->chan = chan; - /* restore the default buffer size */ + /* restore receive buffer size */ if (setsockopt(dev->fd, SOL_SOCKET, SO_RCVBUF, &old_rcvbuflen, optlen) < 0) return_error("setsockopt(SO_RCVBUF)");