Skip to content

Commit

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

u8 scantype;
u32 scanmode;

u8 adhoccreate;

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 @@ -1004,9 +1004,6 @@ static void wlan_init_adapter(wlan_private * priv)
/* scan type */
adapter->scantype = CMD_SCAN_TYPE_ACTIVE;

/* scan mode */
adapter->scanmode = CMD_BSS_TYPE_ANY;

/* 802.11 specific */
adapter->secinfo.wep_enabled = 0;
for (i = 0; i < sizeof(adapter->wep_keys) / sizeof(adapter->wep_keys[0]);
Expand Down
6 changes: 2 additions & 4 deletions trunk/drivers/net/wireless/libertas/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,6 @@ wlan_scan_setup_scan_config(wlan_private * priv,
u8 * pfilteredscan,
u8 * pscancurrentonly)
{
wlan_adapter *adapter = priv->adapter;
struct mrvlietypes_numprobes *pnumprobestlv;
struct mrvlietypes_ssidparamset *pssidtlv;
struct wlan_scan_cmd_config * pscancfgout = NULL;
Expand Down Expand Up @@ -412,8 +411,7 @@ wlan_scan_setup_scan_config(wlan_private * priv,

/* Set the bss type scan filter, use adapter setting if unset */
pscancfgout->bsstype =
(puserscanin->bsstype ? puserscanin->bsstype : adapter->
scanmode);
puserscanin->bsstype ? puserscanin->bsstype : CMD_BSS_TYPE_ANY;

/* Set the number of probes to send, use adapter setting if unset */
numprobes = puserscanin->numprobes ? puserscanin->numprobes : 0;
Expand Down Expand Up @@ -448,7 +446,7 @@ wlan_scan_setup_scan_config(wlan_private * priv,
*pfilteredscan = 1;
}
} else {
pscancfgout->bsstype = adapter->scanmode;
pscancfgout->bsstype = CMD_BSS_TYPE_ANY;
numprobes = 0;
}

Expand Down

0 comments on commit 20e37ac

Please sign in to comment.