Search Linux Wireless

[PATCH] mac80211: make address arguments to sta_info_alloc const

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Johannes Berg <johannes.berg@xxxxxxxxx>

No real changes, just note that they are const.

Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
---
 net/mac80211/sta_info.c |    2 +-
 net/mac80211/sta_info.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- a/net/mac80211/sta_info.c	2011-12-14 12:42:24.000000000 +0100
+++ b/net/mac80211/sta_info.c	2011-12-14 12:52:19.000000000 +0100
@@ -281,7 +281,7 @@ static int sta_prepare_rate_control(stru
 }
 
 struct sta_info *sta_info_alloc(struct ieee80211_sub_if_data *sdata,
-				u8 *addr, gfp_t gfp)
+				const u8 *addr, gfp_t gfp)
 {
 	struct ieee80211_local *local = sdata->local;
 	struct sta_info *sta;
--- a/net/mac80211/sta_info.h	2011-12-14 12:51:55.000000000 +0100
+++ b/net/mac80211/sta_info.h	2011-12-14 12:52:13.000000000 +0100
@@ -522,7 +522,7 @@ struct sta_info *sta_info_get_by_idx(str
  * until sta_info_insert().
  */
 struct sta_info *sta_info_alloc(struct ieee80211_sub_if_data *sdata,
-				u8 *addr, gfp_t gfp);
+				const u8 *addr, gfp_t gfp);
 
 void sta_info_free(struct ieee80211_local *local, struct sta_info *sta);
 


--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux