Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 36517
b: refs/heads/master
c: eeec9f1
h: refs/heads/master
i:
  36515: bda8de7
v: v3
  • Loading branch information
Jean Tourrilhes authored and John W. Linville committed Sep 25, 2006
1 parent 406b3e3 commit 4d63130
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5b63bae0ab750942e84bfb9b353e6222583457a2
refs/heads/master: eeec9f1a931262d69811135092c8447d6dccc3e6
10 changes: 5 additions & 5 deletions trunk/drivers/net/wireless/orinoco.c
Original file line number Diff line number Diff line change
Expand Up @@ -3037,7 +3037,7 @@ static int orinoco_ioctl_getessid(struct net_device *dev,
}

erq->flags = 1;
erq->length = strlen(essidbuf) + 1;
erq->length = strlen(essidbuf);

return 0;
}
Expand Down Expand Up @@ -3078,7 +3078,7 @@ static int orinoco_ioctl_getnick(struct net_device *dev,
memcpy(nickbuf, priv->nick, IW_ESSID_MAX_SIZE+1);
orinoco_unlock(priv, &flags);

nrq->length = strlen(nickbuf)+1;
nrq->length = strlen(nickbuf);

return 0;
}
Expand Down Expand Up @@ -3575,14 +3575,14 @@ static int orinoco_ioctl_getretry(struct net_device *dev,
rrq->value = lifetime * 1000; /* ??? */
} else {
/* By default, display the min number */
if ((rrq->flags & IW_RETRY_MAX)) {
rrq->flags = IW_RETRY_LIMIT | IW_RETRY_MAX;
if ((rrq->flags & IW_RETRY_LONG)) {
rrq->flags = IW_RETRY_LIMIT | IW_RETRY_LONG;
rrq->value = long_limit;
} else {
rrq->flags = IW_RETRY_LIMIT;
rrq->value = short_limit;
if(short_limit != long_limit)
rrq->flags |= IW_RETRY_MIN;
rrq->flags |= IW_RETRY_SHORT;
}
}

Expand Down

0 comments on commit 4d63130

Please sign in to comment.