Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 66470
b: refs/heads/master
c: e2aa334
h: refs/heads/master
v: v3
  • Loading branch information
Holger Schurig authored and David S. Miller committed Oct 10, 2007
1 parent 6eca6cf commit 51551d4
Show file tree
Hide file tree
Showing 4 changed files with 3 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: 6e22a855b27ddc0725c134cc428ee668e56ac9f8
refs/heads/master: e2aa334bee4ae9fe27f26b0732c0443d2f11a8af
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 @@ -375,7 +375,6 @@ struct _wlan_adapter {
struct wlan_offset_value offsetvalue;

struct cmd_ds_802_11_get_log logmsg;
u16 scanprobes;

u32 pkttxctrl;

Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/net/wireless/libertas/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -998,8 +998,6 @@ static void wlan_init_adapter(wlan_private * priv)
wlan_adapter *adapter = priv->adapter;
int i;

adapter->scanprobes = 0;

adapter->bcn_avg_factor = DEFAULT_BCN_AVG_FACTOR;
adapter->data_avg_factor = DEFAULT_DATA_AVG_FACTOR;

Expand Down
5 changes: 2 additions & 3 deletions trunk/drivers/net/wireless/libertas/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -416,8 +416,7 @@ wlan_scan_setup_scan_config(wlan_private * priv,
scanmode);

/* Set the number of probes to send, use adapter setting if unset */
numprobes = (puserscanin->numprobes ? puserscanin->numprobes :
adapter->scanprobes);
numprobes = puserscanin->numprobes ? puserscanin->numprobes : 0;

/*
* Set the BSSID filter to the incoming configuration,
Expand Down Expand Up @@ -450,7 +449,7 @@ wlan_scan_setup_scan_config(wlan_private * priv,
}
} else {
pscancfgout->bsstype = adapter->scanmode;
numprobes = adapter->scanprobes;
numprobes = 0;
}

/* If the input config or adapter has the number of Probes set, add tlv */
Expand Down

0 comments on commit 51551d4

Please sign in to comment.