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
@@ -32,7 +32,7 @@
|
||||
void rt2x00lib_config_intf(struct rt2x00_dev *rt2x00dev,
|
||||
struct rt2x00_intf *intf,
|
||||
enum nl80211_iftype type,
|
||||
u8 *mac, u8 *bssid)
|
||||
const u8 *mac, const u8 *bssid)
|
||||
{
|
||||
struct rt2x00intf_conf conf;
|
||||
unsigned int flags = 0;
|
||||
|
@@ -76,7 +76,7 @@ void rt2x00lib_stop(struct rt2x00_dev *rt2x00dev);
|
||||
void rt2x00lib_config_intf(struct rt2x00_dev *rt2x00dev,
|
||||
struct rt2x00_intf *intf,
|
||||
enum nl80211_iftype type,
|
||||
u8 *mac, u8 *bssid);
|
||||
const u8 *mac, const u8 *bssid);
|
||||
void rt2x00lib_config_erp(struct rt2x00_dev *rt2x00dev,
|
||||
struct rt2x00_intf *intf,
|
||||
struct ieee80211_bss_conf *conf);
|
||||
|
Reference in New Issue
Block a user