Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 314097
b: refs/heads/master
c: 1ddbc7d
h: refs/heads/master
i:
  314095: 3748213
v: v3
  • Loading branch information
Luciano Coelho committed Jun 5, 2012
1 parent 66aa63e commit 65e1460
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a5114d9c0def1286aa1d565280b350fee4d1c75b
refs/heads/master: 1ddbc7d4c744eb24aa0d51ab1f4ad6b5c0fd0c02
6 changes: 6 additions & 0 deletions trunk/drivers/net/wireless/ti/wl18xx/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ static bool dc2dc_param = false;
static int n_antennas_2_param = 1;
static int n_antennas_5_param = 1;
static bool checksum_param = true;
static bool enable_11a_param = true;

static const u8 wl18xx_rate_to_idx_2ghz[] = {
/* MCS rates are used only with 11n */
Expand Down Expand Up @@ -1097,6 +1098,8 @@ int __devinit wl18xx_probe(struct platform_device *pdev)
wl18xx_ops.init_vif = NULL;
}

wl->enable_11a = enable_11a_param;

wl18xx_conf_init(wl);

return wlcore_probe(wl, pdev);
Expand Down Expand Up @@ -1149,6 +1152,9 @@ MODULE_PARM_DESC(n_antennas_5, "Number of installed 5GHz antennas: 1 (default) o
module_param_named(checksum, checksum_param, bool, S_IRUSR);
MODULE_PARM_DESC(checksum, "Enable TCP checksum: boolean (defaults to true)");

module_param_named(enable_11a, enable_11a_param, bool, S_IRUSR);
MODULE_PARM_DESC(enable_11a, "Enable 11a (5GHz): boolean (defaults to true)");

MODULE_LICENSE("GPL v2");
MODULE_AUTHOR("Luciano Coelho <coelho@ti.com>");
MODULE_FIRMWARE(WL18XX_FW_NAME);

0 comments on commit 65e1460

Please sign in to comment.