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>
This commit is contained in:

committed by
John W. Linville

parent
e9414b6b3f
commit
5f936f1161
@@ -286,7 +286,7 @@ void lbtf_set_mode(struct lbtf_private *priv, enum lbtf_mode mode)
|
||||
lbtf_cmd_async(priv, CMD_802_11_SET_MODE, &cmd.hdr, sizeof(cmd));
|
||||
}
|
||||
|
||||
void lbtf_set_bssid(struct lbtf_private *priv, bool activate, u8 *bssid)
|
||||
void lbtf_set_bssid(struct lbtf_private *priv, bool activate, const u8 *bssid)
|
||||
{
|
||||
struct cmd_ds_set_bssid cmd;
|
||||
|
||||
|
@@ -463,7 +463,7 @@ int lbtf_set_radio_control(struct lbtf_private *priv);
|
||||
int lbtf_update_hw_spec(struct lbtf_private *priv);
|
||||
int lbtf_cmd_set_mac_multicast_addr(struct lbtf_private *priv);
|
||||
void lbtf_set_mode(struct lbtf_private *priv, enum lbtf_mode mode);
|
||||
void lbtf_set_bssid(struct lbtf_private *priv, bool activate, u8 *bssid);
|
||||
void lbtf_set_bssid(struct lbtf_private *priv, bool activate, const u8 *bssid);
|
||||
int lbtf_set_mac_address(struct lbtf_private *priv, uint8_t *mac_addr);
|
||||
|
||||
int lbtf_set_channel(struct lbtf_private *priv, u8 channel);
|
||||
|
Reference in New Issue
Block a user