Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 56544160 authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville
Browse files

mac80211: make address arguments to sta_info_alloc const



No real changes, just note that they are const.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 29623892
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -281,7 +281,7 @@ static int sta_prepare_rate_control(struct ieee80211_local *local,
}
}


struct sta_info *sta_info_alloc(struct ieee80211_sub_if_data *sdata,
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 ieee80211_local *local = sdata->local;
	struct sta_info *sta;
	struct sta_info *sta;
+1 −1
Original line number Original line Diff line number Diff line
@@ -522,7 +522,7 @@ struct sta_info *sta_info_get_by_idx(struct ieee80211_sub_if_data *sdata,
 * until sta_info_insert().
 * until sta_info_insert().
 */
 */
struct sta_info *sta_info_alloc(struct ieee80211_sub_if_data *sdata,
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);
void sta_info_free(struct ieee80211_local *local, struct sta_info *sta);