Silence brcmsmac warnings. (Fixed in 3.8, but not backporting to 3.7)

This commit is contained in:
Dave Jones 2013-02-12 11:49:36 -05:00
parent ffb7a52581
commit a13d73af42
2 changed files with 21 additions and 0 deletions

View File

@ -789,6 +789,8 @@ Patch21246: rtlwifi-Fix-scheduling-while-atomic-bug.patch
#rhbz 892811
Patch21247: ath9k_rx_dma_stop_check.patch
Patch23000: silence-brcmsmac-warning.patch
# END OF PATCH DEFINITIONS
%endif
@ -1515,6 +1517,8 @@ ApplyPatch rtlwifi-Fix-scheduling-while-atomic-bug.patch
#rhbz 892811
ApplyPatch ath9k_rx_dma_stop_check.patch
ApplyPatch silence-brcmsmac-warning.patch
# END OF PATCH APPLICATIONS
%endif
@ -2378,6 +2382,9 @@ fi
# ||----w |
# || ||
%changelog
* Tue Feb 12 2013 Dave Jones <davej@redhat.com>
- Silence brcmsmac warnings. (Fixed in 3.8, but not backporting to 3.7)
* Tue Feb 12 2013 Justin M. Forbes <jforbes@redhat.com>
- Linux v3.7.7

View File

@ -0,0 +1,14 @@
This is fixed in 3.8, but is too much to backport for now.
As there's no point in abrt telling us this is broken, we'll just silence it.
--- linux-3.7.7-201.fc18.x86_64/drivers/net/wireless/brcm80211/brcmsmac/main.c~ 2013-02-12 11:36:18.787973130 -0500
+++ linux-3.7.7-201.fc18.x86_64/drivers/net/wireless/brcm80211/brcmsmac/main.c 2013-02-12 11:37:02.950969879 -0500
@@ -7993,8 +7993,6 @@ void brcms_c_wait_for_tx_completion(stru
if (--timeout == 0)
break;
}
-
- WARN_ON_ONCE(timeout == 0);
}
void brcms_c_set_beacon_listen_interval(struct brcms_c_info *wlc, u8 interval)