aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/assoc.c
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2008-03-12 11:06:43 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-03-25 16:41:45 -0400
commitd9e9778c2ac5bac02fc118e9a2954e4c70f88eb6 (patch)
treed2642edca9df92610bbc8cba5b0c2a1036931130 /drivers/net/wireless/libertas/assoc.c
parent835d3ac5e8cbe1fec2c02c7fc662586b30b1f5a8 (diff)
libertas: rename packetfilter to mac_control
The CMD_MAC_CONTROL can be used for other things than just filtering packets, e.g. to enable and disable WMM. This uses the same term mac_control for the define, the function and the shadow value in struct lbs_private. Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Acked-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/assoc.c')
-rw-r--r--drivers/net/wireless/libertas/assoc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/libertas/assoc.c b/drivers/net/wireless/libertas/assoc.c
index 707b7ff592ec..54161f1e742a 100644
--- a/drivers/net/wireless/libertas/assoc.c
+++ b/drivers/net/wireless/libertas/assoc.c
@@ -268,11 +268,11 @@ static int assoc_helper_wep_keys(struct lbs_private *priv,
268 268
269 /* enable/disable the MAC's WEP packet filter */ 269 /* enable/disable the MAC's WEP packet filter */
270 if (assoc_req->secinfo.wep_enabled) 270 if (assoc_req->secinfo.wep_enabled)
271 priv->currentpacketfilter |= CMD_ACT_MAC_WEP_ENABLE; 271 priv->mac_control |= CMD_ACT_MAC_WEP_ENABLE;
272 else 272 else
273 priv->currentpacketfilter &= ~CMD_ACT_MAC_WEP_ENABLE; 273 priv->mac_control &= ~CMD_ACT_MAC_WEP_ENABLE;
274 274
275 ret = lbs_set_mac_packet_filter(priv); 275 ret = lbs_set_mac_control(priv);
276 if (ret) 276 if (ret)
277 goto out; 277 goto out;
278 278
@@ -304,7 +304,7 @@ static int assoc_helper_secinfo(struct lbs_private *priv,
304 memcpy(&priv->secinfo, &assoc_req->secinfo, 304 memcpy(&priv->secinfo, &assoc_req->secinfo,
305 sizeof(struct lbs_802_11_security)); 305 sizeof(struct lbs_802_11_security));
306 306
307 ret = lbs_set_mac_packet_filter(priv); 307 ret = lbs_set_mac_control(priv);
308 if (ret) 308 if (ret)
309 goto out; 309 goto out;
310 310