Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 66485
b: refs/heads/master
c: 4f2fdaa
h: refs/heads/master
i:
  66483: 47be7da
v: v3
  • Loading branch information
Holger Schurig authored and David S. Miller committed Oct 10, 2007
1 parent 20e37ac commit 9836d30
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 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: d65ead886a193682f88b07aaf11d46127735a2b5
refs/heads/master: 4f2fdaaf0e4209bff3b18dc14c915b61f5fa5cd2
2 changes: 0 additions & 2 deletions trunk/drivers/net/wireless/libertas/dev.h
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,6 @@ struct _wlan_adapter {
struct list_head network_free_list;
struct bss_descriptor *networks;

u8 scantype;

u8 adhoccreate;

/** capability Info used in Association, start, join */
Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/net/wireless/libertas/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1001,9 +1001,6 @@ static void wlan_init_adapter(wlan_private * priv)
adapter->connect_status = LIBERTAS_DISCONNECTED;
memset(adapter->current_addr, 0xff, ETH_ALEN);

/* scan type */
adapter->scantype = CMD_SCAN_TYPE_ACTIVE;

/* 802.11 specific */
adapter->secinfo.wep_enabled = 0;
for (i = 0; i < sizeof(adapter->wep_keys) / sizeof(adapter->wep_keys[0]);
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/wireless/libertas/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ static void wlan_scan_create_channel_list(wlan_private * priv,
* be changed to passive on a per channel basis if restricted by
* regulatory requirements (11d or 11h)
*/
scantype = adapter->scantype;
scantype = CMD_SCAN_TYPE_ACTIVE;

for (rgnidx = 0; rgnidx < ARRAY_SIZE(adapter->region_channel); rgnidx++) {
if (priv->adapter->enable11d &&
Expand Down

0 comments on commit 9836d30

Please sign in to comment.