rpms/kernel/F-8 linux-2.6-ath5k-fixes.patch,1.1,1.2
Chuck Ebbert (cebbert)
fedora-extras-commits at redhat.com
Mon Oct 22 20:22:39 UTC 2007
Author: cebbert
Update of /cvs/pkgs/rpms/kernel/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28988
Modified Files:
linux-2.6-ath5k-fixes.patch
Log Message:
add debugging
linux-2.6-ath5k-fixes.patch:
Index: linux-2.6-ath5k-fixes.patch
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-8/linux-2.6-ath5k-fixes.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- linux-2.6-ath5k-fixes.patch 17 Oct 2007 18:49:00 -0000 1.1
+++ linux-2.6-ath5k-fixes.patch 22 Oct 2007 20:22:35 -0000 1.2
@@ -1,6 +1,24 @@
diff -up linux-2.6.23.noarch/drivers/net/wireless/ath5k/hw.c.orig linux-2.6.23.noarch/drivers/net/wireless/ath5k/hw.c
--- linux-2.6.23.noarch/drivers/net/wireless/ath5k/hw.c.orig 2007-10-17 14:35:44.000000000 -0400
+++ linux-2.6.23.noarch/drivers/net/wireless/ath5k/hw.c 2007-10-17 14:35:35.000000000 -0400
+@@ -491,8 +491,16 @@ const struct ath5k_rate_table *ath5k_hw_
+ {
+ AR5K_TRACE;
+
+- if (!test_bit(mode, hal->ah_capabilities.cap_mode))
++ if (!test_bit(mode, hal->ah_capabilities.cap_mode)) {
++ printk(KERN_ERR "ath5k_hw_get_rate_table: mode=%u, cap_mode=[", mode);
++ for (mode = 0; mode < NUM_DRIVER_MODES; mode++) {
++ if (test_bit(mode, hal->ah_capabilities.cap_mode))
++ printk("%u,", mode);
++ }
++ printk("]\n");
++ dump_stack();
+ return NULL;
++ }
+
+ /* Get rate tables */
+ switch (mode) {
@@ -667,6 +667,8 @@ int ath5k_hw_reset(struct ath_hw *hal, e
/*Get rate table for this operation mode*/
rt = ath5k_hw_get_rate_table(hal,
More information about the fedora-extras-commits
mailing list