aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/cmd.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/cmd.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/cmd.c')
-rw-r--r--drivers/net/wireless/libertas/cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas/cmd.c b/drivers/net/wireless/libertas/cmd.c
index 84dde09bfbc3..4fcf5e1d98aa 100644
--- a/drivers/net/wireless/libertas/cmd.c
+++ b/drivers/net/wireless/libertas/cmd.c
@@ -1286,7 +1286,7 @@ int lbs_set_radio_control(struct lbs_private *priv)
1286 return ret; 1286 return ret;
1287} 1287}
1288 1288
1289int lbs_set_mac_packet_filter(struct lbs_private *priv) 1289int lbs_set_mac_control(struct lbs_private *priv)
1290{ 1290{
1291 int ret = 0; 1291 int ret = 0;
1292 struct cmd_ds_mac_control cmd; 1292 struct cmd_ds_mac_control cmd;
@@ -1294,7 +1294,7 @@ int lbs_set_mac_packet_filter(struct lbs_private *priv)
1294 lbs_deb_enter(LBS_DEB_CMD); 1294 lbs_deb_enter(LBS_DEB_CMD);
1295 1295
1296 cmd.hdr.size = cpu_to_le16(sizeof(cmd)); 1296 cmd.hdr.size = cpu_to_le16(sizeof(cmd));
1297 cmd.action = cpu_to_le16(priv->currentpacketfilter); 1297 cmd.action = cpu_to_le16(priv->mac_control);
1298 cmd.reserved = 0; 1298 cmd.reserved = 0;
1299 1299
1300 ret = lbs_cmd_with_response(priv, CMD_MAC_CONTROL, &cmd); 1300 ret = lbs_cmd_with_response(priv, CMD_MAC_CONTROL, &cmd);