diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
commit | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (patch) | |
tree | a8f4d49d63b1ecc92f2fddceba0655b2472c5bd9 /drivers/net/wireless/b43/lo.c | |
parent | 406089d01562f1e2bf9f089fd7637009ebaad589 (diff) |
Patched in Tegra support.
Diffstat (limited to 'drivers/net/wireless/b43/lo.c')
-rw-r--r-- | drivers/net/wireless/b43/lo.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/b43/lo.c b/drivers/net/wireless/b43/lo.c index 916123a3d74..4c82d582a52 100644 --- a/drivers/net/wireless/b43/lo.c +++ b/drivers/net/wireless/b43/lo.c | |||
@@ -826,7 +826,7 @@ void b43_gphy_dc_lt_init(struct b43_wldev *dev, bool update_all) | |||
826 | const struct b43_rfatt *rfatt; | 826 | const struct b43_rfatt *rfatt; |
827 | const struct b43_bbatt *bbatt; | 827 | const struct b43_bbatt *bbatt; |
828 | u64 power_vector; | 828 | u64 power_vector; |
829 | bool table_changed = false; | 829 | bool table_changed = 0; |
830 | 830 | ||
831 | BUILD_BUG_ON(B43_DC_LT_SIZE != 32); | 831 | BUILD_BUG_ON(B43_DC_LT_SIZE != 32); |
832 | B43_WARN_ON(lo->rfatt_list.len * lo->bbatt_list.len > 64); | 832 | B43_WARN_ON(lo->rfatt_list.len * lo->bbatt_list.len > 64); |
@@ -876,7 +876,7 @@ void b43_gphy_dc_lt_init(struct b43_wldev *dev, bool update_all) | |||
876 | lo->dc_lt[idx] = (lo->dc_lt[idx] & 0xFF00) | 876 | lo->dc_lt[idx] = (lo->dc_lt[idx] & 0xFF00) |
877 | | (val & 0x00FF); | 877 | | (val & 0x00FF); |
878 | } | 878 | } |
879 | table_changed = true; | 879 | table_changed = 1; |
880 | } | 880 | } |
881 | if (table_changed) { | 881 | if (table_changed) { |
882 | /* The table changed in memory. Update the hardware table. */ | 882 | /* The table changed in memory. Update the hardware table. */ |
@@ -938,7 +938,7 @@ void b43_lo_g_maintanance_work(struct b43_wldev *dev) | |||
938 | unsigned long now; | 938 | unsigned long now; |
939 | unsigned long expire; | 939 | unsigned long expire; |
940 | struct b43_lo_calib *cal, *tmp; | 940 | struct b43_lo_calib *cal, *tmp; |
941 | bool current_item_expired = false; | 941 | bool current_item_expired = 0; |
942 | bool hwpctl; | 942 | bool hwpctl; |
943 | 943 | ||
944 | if (!lo) | 944 | if (!lo) |
@@ -968,7 +968,7 @@ void b43_lo_g_maintanance_work(struct b43_wldev *dev) | |||
968 | if (b43_compare_bbatt(&cal->bbatt, &gphy->bbatt) && | 968 | if (b43_compare_bbatt(&cal->bbatt, &gphy->bbatt) && |
969 | b43_compare_rfatt(&cal->rfatt, &gphy->rfatt)) { | 969 | b43_compare_rfatt(&cal->rfatt, &gphy->rfatt)) { |
970 | B43_WARN_ON(current_item_expired); | 970 | B43_WARN_ON(current_item_expired); |
971 | current_item_expired = true; | 971 | current_item_expired = 1; |
972 | } | 972 | } |
973 | if (b43_debug(dev, B43_DBG_LO)) { | 973 | if (b43_debug(dev, B43_DBG_LO)) { |
974 | b43dbg(dev->wl, "LO: Item BB(%u), RF(%u,%u), " | 974 | b43dbg(dev->wl, "LO: Item BB(%u), RF(%u,%u), " |