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/rt2x00 | |
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/rt2x00')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00config.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00lib.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00config.c b/drivers/net/wireless/rt2x00/rt2x00config.c index 6b3bb0f661d5..9c2f5517af2a 100644 --- a/drivers/net/wireless/rt2x00/rt2x00config.c +++ b/drivers/net/wireless/rt2x00/rt2x00config.c | |||
@@ -32,7 +32,7 @@ | |||
32 | void rt2x00lib_config_intf(struct rt2x00_dev *rt2x00dev, | 32 | void rt2x00lib_config_intf(struct rt2x00_dev *rt2x00dev, |
33 | struct rt2x00_intf *intf, | 33 | struct rt2x00_intf *intf, |
34 | enum nl80211_iftype type, | 34 | enum nl80211_iftype type, |
35 | u8 *mac, u8 *bssid) | 35 | const u8 *mac, const u8 *bssid) |
36 | { | 36 | { |
37 | struct rt2x00intf_conf conf; | 37 | struct rt2x00intf_conf conf; |
38 | unsigned int flags = 0; | 38 | unsigned int flags = 0; |
diff --git a/drivers/net/wireless/rt2x00/rt2x00lib.h b/drivers/net/wireless/rt2x00/rt2x00lib.h index daf0def915dd..34efe4653549 100644 --- a/drivers/net/wireless/rt2x00/rt2x00lib.h +++ b/drivers/net/wireless/rt2x00/rt2x00lib.h | |||
@@ -76,7 +76,7 @@ void rt2x00lib_stop(struct rt2x00_dev *rt2x00dev); | |||
76 | void rt2x00lib_config_intf(struct rt2x00_dev *rt2x00dev, | 76 | void rt2x00lib_config_intf(struct rt2x00_dev *rt2x00dev, |
77 | struct rt2x00_intf *intf, | 77 | struct rt2x00_intf *intf, |
78 | enum nl80211_iftype type, | 78 | enum nl80211_iftype type, |
79 | u8 *mac, u8 *bssid); | 79 | const u8 *mac, const u8 *bssid); |
80 | void rt2x00lib_config_erp(struct rt2x00_dev *rt2x00dev, | 80 | void rt2x00lib_config_erp(struct rt2x00_dev *rt2x00dev, |
81 | struct rt2x00_intf *intf, | 81 | struct rt2x00_intf *intf, |
82 | struct ieee80211_bss_conf *conf); | 82 | struct ieee80211_bss_conf *conf); |