Do a better job of cleaning-up compat-wireless between builds
This commit is contained in:
parent
dc99927b4e
commit
3a3b49403f
16
compat-wireless-ath9k-rate-control-fixup.patch
Normal file
16
compat-wireless-ath9k-rate-control-fixup.patch
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
diff -up compat-wireless-2011-12-01/drivers/net/wireless/ath/ath9k/rc.c.orig compat-wireless-2011-12-01/drivers/net/wireless/ath/ath9k/rc.c
|
||||||
|
--- compat-wireless-2011-12-01/drivers/net/wireless/ath/ath9k/rc.c.orig 2011-12-09 10:08:18.951768673 -0500
|
||||||
|
+++ compat-wireless-2011-12-01/drivers/net/wireless/ath/ath9k/rc.c 2011-12-09 10:08:38.224527731 -0500
|
||||||
|
@@ -1615,6 +1615,7 @@ static struct rate_control_ops ath_rate_
|
||||||
|
#endif
|
||||||
|
};
|
||||||
|
|
||||||
|
+#ifdef CONFIG_ATH9K_RATE_CONTROL
|
||||||
|
int ath_rate_control_register(void)
|
||||||
|
{
|
||||||
|
return ieee80211_rate_control_register(&ath_rate_ops);
|
||||||
|
@@ -1624,3 +1625,4 @@ void ath_rate_control_unregister(void)
|
||||||
|
{
|
||||||
|
ieee80211_rate_control_unregister(&ath_rate_ops);
|
||||||
|
}
|
||||||
|
+#endif
|
@ -1474,6 +1474,9 @@ cd ..
|
|||||||
|
|
||||||
%if %{with_backports}
|
%if %{with_backports}
|
||||||
|
|
||||||
|
# Always start fresh
|
||||||
|
rm -rf compat-wireless-%{cwversion}
|
||||||
|
|
||||||
# Extract the compat-wireless bits
|
# Extract the compat-wireless bits
|
||||||
%setup -q -n kernel-%{kversion}%{?dist} -T -D -a 1
|
%setup -q -n kernel-%{kversion}%{?dist} -T -D -a 1
|
||||||
|
|
||||||
@ -2225,6 +2228,9 @@ fi
|
|||||||
# ||----w |
|
# ||----w |
|
||||||
# || ||
|
# || ||
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Dec 09 2011 John W. Linville <linville@redhat.com>
|
||||||
|
- Do a better job of cleaning-up compat-wireless between builds
|
||||||
|
|
||||||
* Fri Dec 09 2011 Dave Jones <davej@redhat.com> - 3.2.0-0.rc4.git6.1
|
* Fri Dec 09 2011 Dave Jones <davej@redhat.com> - 3.2.0-0.rc4.git6.1
|
||||||
- Linux 3.2-rc4-git6 (09d9673d53005fdf40de4c759425893904292236)
|
- Linux 3.2-rc4-git6 (09d9673d53005fdf40de4c759425893904292236)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user