Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 255419
b: refs/heads/master
c: f35490f
h: refs/heads/master
i:
  255417: c6f28e3
  255415: cca9f7c
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Jun 2, 2011
1 parent 09c8bc8 commit 1d7be73
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 5bc9890ff114cdd39de8561610f6af3bb4b08cfb
refs/heads/master: f35490f909b7d535ff7f2f1a7df59be8c2824931
4 changes: 2 additions & 2 deletions trunk/drivers/net/wireless/iwlwifi/iwl-agn.c
Original file line number Diff line number Diff line change
Expand Up @@ -2533,11 +2533,11 @@ static int iwl_mac_setup_register(struct iwl_priv *priv,

BUILD_BUG_ON(NUM_IWL_RXON_CTX != 2);

if (hw->wiphy->interface_modes & NL80211_IFTYPE_P2P_CLIENT) {
if (hw->wiphy->interface_modes & BIT(NL80211_IFTYPE_P2P_CLIENT)) {
hw->wiphy->iface_combinations = iwlagn_iface_combinations_p2p;
hw->wiphy->n_iface_combinations =
ARRAY_SIZE(iwlagn_iface_combinations_p2p);
} else if (hw->wiphy->interface_modes & NL80211_IFTYPE_AP) {
} else if (hw->wiphy->interface_modes & BIT(NL80211_IFTYPE_AP)) {
hw->wiphy->iface_combinations = iwlagn_iface_combinations_dualmode;
hw->wiphy->n_iface_combinations =
ARRAY_SIZE(iwlagn_iface_combinations_dualmode);
Expand Down

0 comments on commit 1d7be73

Please sign in to comment.