Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172251
b: refs/heads/master
c: 159bcfe
h: refs/heads/master
i:
  172249: f4dc6dd
  172247: 5bcf530
v: v3
  • Loading branch information
Samuel Ortiz authored and John W. Linville committed Dec 4, 2009
1 parent 56c7be9 commit d973afa
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 43b5ffe1162a7fbaa89f1c392a28ac54c2e932f7
refs/heads/master: 159bcfeb9123c91f0dc885a42b6387a98192f896
7 changes: 5 additions & 2 deletions trunk/drivers/net/wireless/iwmc3200wifi/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ static struct iwm_conf def_iwm_conf = {
.ct_kill_exit = 110,
.reset_on_fatal_err = 1,
.auto_connect = 1,
.wimax_not_present = 0,
.enable_qos = 1,
.mode = UMAC_MODE_BSS,

Expand All @@ -94,6 +93,10 @@ static int modparam_reset;
module_param_named(reset, modparam_reset, bool, 0644);
MODULE_PARM_DESC(reset, "reset on firmware errors (default 0 [not reset])");

static int modparam_wimax_enable = 1;
module_param_named(wimax_enable, modparam_wimax_enable, bool, 0644);
MODULE_PARM_DESC(wimax_enable, "Enable wimax core (default 1 [wimax enabled])");

int iwm_mode_to_nl80211_iftype(int mode)
{
switch (mode) {
Expand Down Expand Up @@ -486,7 +489,7 @@ static int iwm_config_boot_params(struct iwm_priv *iwm)
int ret;

/* check Wimax is off and config debug monitor */
if (iwm->conf.wimax_not_present) {
if (!modparam_wimax_enable) {
u32 data1 = 0x1f;
u32 addr1 = 0x606BE258;

Expand Down

0 comments on commit d973afa

Please sign in to comment.