[PATCH] libertas: remove adapter->scanmode
scanmode was initialized with CMD_BSS_TYPE_ANY, but there is no code that ever can store another value there, so it can go away. Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
David S. Miller

parent
2c85103da3
commit
d65ead886a
@@ -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]);
|
||||
|
Reference in New Issue
Block a user