Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33140
b: refs/heads/master
c: 40da08b
h: refs/heads/master
v: v3
  • Loading branch information
Daniel Drake authored and John W. Linville committed Aug 2, 2006
1 parent cc9934b commit 2ac9027
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 71eae25ece9ee6bc2fe9500c9c06bfbb46c55fb2
refs/heads/master: 40da08bca6f4e7dec4a75c3c47800e5f4ca4e567
5 changes: 3 additions & 2 deletions trunk/drivers/net/wireless/zd1211rw/zd_mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,9 @@ int zd_mac_init_hw(struct zd_mac *mac, u8 device_type)
if (r)
goto disable_int;

r = zd_set_encryption_type(chip, NO_WEP);
/* We must inform the device that we are doing encryption/decryption in
* software at the moment. */
r = zd_set_encryption_type(chip, ENC_SNIFFER);
if (r)
goto disable_int;

Expand Down Expand Up @@ -141,7 +143,6 @@ static int reset_mode(struct zd_mac *mac)
RX_FILTER_REASSOC_RESPONSE |
RX_FILTER_DISASSOC },
{ CR_SNIFFER_ON, 0U },
{ CR_ENCRYPTION_TYPE, NO_WEP },
};

if (ieee->iw_mode == IW_MODE_MONITOR) {
Expand Down

0 comments on commit 2ac9027

Please sign in to comment.