Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 351789
b: refs/heads/master
c: d1f3de7
h: refs/heads/master
i:
  351787: 5c20322
v: v3
  • Loading branch information
Christian Lamparter authored and John W. Linville committed Jan 7, 2013
1 parent f396a76 commit 4cf814d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 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: c1b976d2fcb3b308906be7c6bda1390251dec32d
refs/heads/master: d1f3de71a584a82ee4e84505fce9acccf40215ff
6 changes: 5 additions & 1 deletion trunk/drivers/net/wireless/ath/carl9170/fw.c
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,11 @@ static int carl9170_fw(struct ar9170 *ar, const __u8 *data, size_t len)

ar->hw->wiphy->interface_modes |= if_comb_types;

ar->hw->wiphy->flags |= WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL;
ar->hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT;

/* As IBSS Encryption is software-based, IBSS RSN is supported. */
ar->hw->wiphy->flags |= WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL |
WIPHY_FLAG_IBSS_RSN | WIPHY_FLAG_SUPPORTS_TDLS;

#undef SUPPORTED
return carl9170_fw_tx_sequence(ar);
Expand Down
4 changes: 0 additions & 4 deletions trunk/drivers/net/wireless/ath/carl9170/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1807,10 +1807,6 @@ void *carl9170_alloc(size_t priv_size)
for (i = 0; i < ARRAY_SIZE(ar->noise); i++)
ar->noise[i] = -95; /* ATH_DEFAULT_NOISE_FLOOR */

hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT;

/* As IBSS Encryption is software-based, IBSS RSN is supported. */
hw->wiphy->flags |= WIPHY_FLAG_IBSS_RSN;
return ar;

err_nomem:
Expand Down

0 comments on commit 4cf814d

Please sign in to comment.