Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 79338
b: refs/heads/master
c: 2ab1f51
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro authored and David S. Miller committed Jan 28, 2008
1 parent 941b19f commit 1b35d6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 15617858b3cf249a3577df8da970f779bbc8a737
refs/heads/master: 2ab1f519cbec0902cb86f1e29b10f2f00dd020c0
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/airo.c
Original file line number Diff line number Diff line change
Expand Up @@ -7865,9 +7865,9 @@ static int writerids(struct net_device *dev, aironet_ioctl *comp) {
ConfigRid *cfg = (ConfigRid *)iobuf;

if (test_bit(FLAG_MIC_CAPABLE, &ai->flags))
cfg->opmode |= MODE_MIC;
cfg->opmode |= cpu_to_le16(MODE_MIC);

if ((cfg->opmode & 0xFF) == MODE_STA_IBSS)
if ((le16_to_cpu(cfg->opmode) & 0xFF) == MODE_STA_IBSS)
set_bit (FLAG_ADHOC, &ai->flags);
else
clear_bit (FLAG_ADHOC, &ai->flags);
Expand Down

0 comments on commit 1b35d6f

Please sign in to comment.