diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-01-21 06:47:05 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 16:01:07 -0500 |
commit | 5f936f11613c32ca7f8ed5fa333bb38a4501deeb (patch) | |
tree | 6963b1e32eaa4d4bdb14655c9e8f209bf0e2c7f7 /drivers/net/wireless/libertas_tf | |
parent | e9414b6b3f34dcc3683e66dffa4f5f167d49df51 (diff) |
mac80211: constify ieee80211_if_conf.bssid
Then one place can be a static const.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas_tf')
-rw-r--r-- | drivers/net/wireless/libertas_tf/cmd.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/libertas_tf/libertas_tf.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas_tf/cmd.c b/drivers/net/wireless/libertas_tf/cmd.c index 3d3914c83b14..28790e03dc43 100644 --- a/drivers/net/wireless/libertas_tf/cmd.c +++ b/drivers/net/wireless/libertas_tf/cmd.c | |||
@@ -286,7 +286,7 @@ void lbtf_set_mode(struct lbtf_private *priv, enum lbtf_mode mode) | |||
286 | lbtf_cmd_async(priv, CMD_802_11_SET_MODE, &cmd.hdr, sizeof(cmd)); | 286 | lbtf_cmd_async(priv, CMD_802_11_SET_MODE, &cmd.hdr, sizeof(cmd)); |
287 | } | 287 | } |
288 | 288 | ||
289 | void lbtf_set_bssid(struct lbtf_private *priv, bool activate, u8 *bssid) | 289 | void lbtf_set_bssid(struct lbtf_private *priv, bool activate, const u8 *bssid) |
290 | { | 290 | { |
291 | struct cmd_ds_set_bssid cmd; | 291 | struct cmd_ds_set_bssid cmd; |
292 | 292 | ||
diff --git a/drivers/net/wireless/libertas_tf/libertas_tf.h b/drivers/net/wireless/libertas_tf/libertas_tf.h index 8995cd7c29bf..4cc42dd5a005 100644 --- a/drivers/net/wireless/libertas_tf/libertas_tf.h +++ b/drivers/net/wireless/libertas_tf/libertas_tf.h | |||
@@ -463,7 +463,7 @@ int lbtf_set_radio_control(struct lbtf_private *priv); | |||
463 | int lbtf_update_hw_spec(struct lbtf_private *priv); | 463 | int lbtf_update_hw_spec(struct lbtf_private *priv); |
464 | int lbtf_cmd_set_mac_multicast_addr(struct lbtf_private *priv); | 464 | int lbtf_cmd_set_mac_multicast_addr(struct lbtf_private *priv); |
465 | void lbtf_set_mode(struct lbtf_private *priv, enum lbtf_mode mode); | 465 | void lbtf_set_mode(struct lbtf_private *priv, enum lbtf_mode mode); |
466 | void lbtf_set_bssid(struct lbtf_private *priv, bool activate, u8 *bssid); | 466 | void lbtf_set_bssid(struct lbtf_private *priv, bool activate, const u8 *bssid); |
467 | int lbtf_set_mac_address(struct lbtf_private *priv, uint8_t *mac_addr); | 467 | int lbtf_set_mac_address(struct lbtf_private *priv, uint8_t *mac_addr); |
468 | 468 | ||
469 | int lbtf_set_channel(struct lbtf_private *priv, u8 channel); | 469 | int lbtf_set_channel(struct lbtf_private *priv, u8 channel); |