Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 171460
b: refs/heads/master
c: 5e4cf16
h: refs/heads/master
v: v3
  • Loading branch information
Lennert Buytenhek authored and John W. Linville committed Nov 6, 2009
1 parent 3eeba2e commit e32c185
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 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: c0adae2caa1a152c6ec691c5d1e815e47dac2a0c
refs/heads/master: 5e4cf166f4a9801ea9ca1bab210d763d27538de6
18 changes: 10 additions & 8 deletions trunk/drivers/net/wireless/mwl8k.c
Original file line number Diff line number Diff line change
Expand Up @@ -2713,22 +2713,24 @@ static int mwl8k_start(struct ieee80211_hw *hw)
if (!rc) {
rc = mwl8k_cmd_802_11_radio_enable(hw);

if (!rc)
rc = mwl8k_cmd_set_pre_scan(hw);
if (!priv->ap_fw) {
if (!rc)
rc = mwl8k_enable_sniffer(hw, 0);

if (!rc)
rc = mwl8k_cmd_set_post_scan(hw,
"\x00\x00\x00\x00\x00\x00");
if (!rc)
rc = mwl8k_cmd_set_pre_scan(hw);

if (!rc)
rc = mwl8k_cmd_set_post_scan(hw,
"\x00\x00\x00\x00\x00\x00");
}

if (!rc)
rc = mwl8k_cmd_setrateadaptmode(hw, 0);

if (!rc)
rc = mwl8k_set_wmm(hw, 0);

if (!rc)
rc = mwl8k_enable_sniffer(hw, 0);

mwl8k_fw_unlock(hw);
}

Expand Down

0 comments on commit e32c185

Please sign in to comment.