Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290267
b: refs/heads/master
c: f29af97
h: refs/heads/master
i:
  290265: 355441a
  290263: 88cc4d6
v: v3
  • Loading branch information
Kalle Valo committed Jan 18, 2012
1 parent 570e79f commit 1e92ec4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 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: 46d33a21cfa531f4271c3f0b7b87a295f30f9e6a
refs/heads/master: f29af97853599e9537191c4f33f8ac87f3f503a9
1 change: 1 addition & 0 deletions trunk/drivers/net/wireless/ath/ath6kl/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ struct ath6kl_fw_ie {
#define ATH6KL_CONF_ENABLE_11N BIT(2)
#define ATH6KL_CONF_ENABLE_TX_BURST BIT(3)
#define ATH6KL_CONF_SUSPEND_CUTPOWER BIT(4)
#define ATH6KL_CONF_UART_DEBUG BIT(5)

enum wlan_low_pwr_state {
WLAN_POWER_STATE_ON,
Expand Down
5 changes: 4 additions & 1 deletion trunk/drivers/net/wireless/ath/ath6kl/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ int ath6kl_configure_target(struct ath6kl *ar)
u8 fw_iftype, fw_mode = 0, fw_submode = 0;
int i, status;

param = uart_debug;
param = !!(ar->conf_flags & ATH6KL_CONF_UART_DEBUG);
if (ath6kl_bmi_write(ar, ath6kl_get_hi_item_addr(ar,
HI_ITEM(hi_serial_enable)), (u8 *)&param, 4)) {
ath6kl_err("bmi_write_memory for uart debug failed\n");
Expand Down Expand Up @@ -1775,6 +1775,9 @@ int ath6kl_core_init(struct ath6kl *ar)
if (suspend_cutpower)
ar->conf_flags |= ATH6KL_CONF_SUSPEND_CUTPOWER;

if (uart_debug)
ar->conf_flags |= ATH6KL_CONF_UART_DEBUG;

ar->wiphy->flags |= WIPHY_FLAG_SUPPORTS_FW_ROAM |
WIPHY_FLAG_HAVE_AP_SME |
WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL |
Expand Down

0 comments on commit 1e92ec4

Please sign in to comment.