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

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

mac80211 rate control: fix section mismatch



When the rate control algorithms are built-in, their exit
functions can be called from mac80211's init function so
they cannot be marked __exit.

Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
Acked-by: default avatarStefano Brivio <stefano.brivio@polimi.it>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent e903fbd4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -538,7 +538,7 @@ int __init rc80211_pid_init(void)
	return ieee80211_rate_control_register(&mac80211_rcpid);
}

void __exit rc80211_pid_exit(void)
void rc80211_pid_exit(void)
{
	ieee80211_rate_control_unregister(&mac80211_rcpid);
}
+1 −1
Original line number Diff line number Diff line
@@ -389,7 +389,7 @@ int __init rc80211_simple_init(void)
	return ieee80211_rate_control_register(&mac80211_rcsimple);
}

void __exit rc80211_simple_exit(void)
void rc80211_simple_exit(void)
{
	ieee80211_rate_control_unregister(&mac80211_rcsimple);
}