diff options
Diffstat (limited to 'drivers/net/wireless/libertas/cmd.c')
-rw-r--r-- | drivers/net/wireless/libertas/cmd.c | 4 |
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 | ||
1289 | int lbs_set_mac_packet_filter(struct lbs_private *priv) | 1289 | int 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); |