diff options
author | Dan Williams <dcbw@redhat.com> | 2007-08-02 10:43:44 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:49:38 -0400 |
commit | 0c9ca690e0117e1bf415d5f3e392e27c0c472c68 (patch) | |
tree | 8d8fcda57684b0b124d527bace187f526caa2c6f /drivers/net/wireless/libertas/fw.c | |
parent | 6dbc9c89fb242873bd3e83890e59da3d6e462025 (diff) |
[PATCH] libertas: kill ieeetypes_capinfo bitfield, use ieee80211.h types
Use standard BSS capability field constants from ieee80211.h.
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/fw.c')
-rw-r--r-- | drivers/net/wireless/libertas/fw.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/wireless/libertas/fw.c b/drivers/net/wireless/libertas/fw.c index 2dc84ff7a54a..6c2b3c25b821 100644 --- a/drivers/net/wireless/libertas/fw.c +++ b/drivers/net/wireless/libertas/fw.c | |||
@@ -217,10 +217,8 @@ static void wlan_init_adapter(wlan_private * priv) | |||
217 | adapter->is_datarate_auto = 1; | 217 | adapter->is_datarate_auto = 1; |
218 | adapter->beaconperiod = MRVDRV_BEACON_INTERVAL; | 218 | adapter->beaconperiod = MRVDRV_BEACON_INTERVAL; |
219 | 219 | ||
220 | // set default value of capinfo. | 220 | // set default capabilities |
221 | #define SHORT_PREAMBLE_ALLOWED 1 | 221 | adapter->capability = WLAN_CAPABILITY_SHORT_PREAMBLE; |
222 | memset(&adapter->capinfo, 0, sizeof(adapter->capinfo)); | ||
223 | adapter->capinfo.shortpreamble = SHORT_PREAMBLE_ALLOWED; | ||
224 | 222 | ||
225 | adapter->psmode = wlan802_11powermodecam; | 223 | adapter->psmode = wlan802_11powermodecam; |
226 | adapter->multipledtim = MRVDRV_DEFAULT_MULTIPLE_DTIM; | 224 | adapter->multipledtim = MRVDRV_DEFAULT_MULTIPLE_DTIM; |