Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279231
b: refs/heads/master
c: 774439a
h: refs/heads/master
i:
  279229: d747018
  279227: 518de08
  279223: e698ff6
  279215: 99fe144
  279199: f0d7f7f
  279167: c0b1871
v: v3
  • Loading branch information
Vasanthakumar Thiagarajan authored and Kalle Valo committed Nov 21, 2011
1 parent 7589f6c commit a2b205a
Show file tree
Hide file tree
Showing 2 changed files with 3 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: fb94333a62b7b11041dfb6daad94353ec5fbb7fd
refs/heads/master: 774439ad88ecec928ab4a438946ee4985116c481
7 changes: 2 additions & 5 deletions trunk/drivers/net/wireless/ath/ath6kl/cfg80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@
#include "testmode.h"

static unsigned int ath6kl_p2p;
static unsigned int multi_norm_if_support;

module_param(ath6kl_p2p, uint, 0644);
module_param(multi_norm_if_support, uint, 0644);

#define RATETAB_ENT(_rate, _rateid, _flags) { \
.bitrate = (_rate), \
Expand Down Expand Up @@ -2452,14 +2450,13 @@ struct ath6kl *ath6kl_core_alloc(struct device *dev)
}

ar = wiphy_priv(wiphy);
if (!multi_norm_if_support)
ar->p2p = !!ath6kl_p2p;
ar->p2p = !!ath6kl_p2p;
ar->wiphy = wiphy;
ar->dev = dev;

ar->vif_max = 1;

if (multi_norm_if_support)
if (!ar->p2p)
ar->max_norm_iface = 2;
else
ar->max_norm_iface = 1;
Expand Down

0 comments on commit a2b205a

Please sign in to comment.