Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 299218 Details for
Bug 438912
prism54_get_wireless_stats+0x21/0x9c [prism54]
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
0001-prism54-correct-thinko-in-prism54-Convert-stats_s.patch
0001-prism54-correct-thinko-in-prism54-Convert-stats_s.patch (text/plain), 1.10 KB, created by
John W. Linville
on 2008-03-26 19:24:58 UTC
(
hide
)
Description:
0001-prism54-correct-thinko-in-prism54-Convert-stats_s.patch
Filename:
MIME Type:
Creator:
John W. Linville
Created:
2008-03-26 19:24:58 UTC
Size:
1.10 KB
patch
obsolete
>From 2643c1a3be39898a842a41a639f44cc3dbd5630c Mon Sep 17 00:00:00 2001 >From: John W. Linville <linville@tuxdriver.com> >Date: Wed, 26 Mar 2008 15:19:55 -0400 >Subject: [PATCH] prism54: correct thinko in "prism54: Convert stats_sem in a mutex" > >mutex_trylock has different return code semantics than down_trylock... > >Signed-off-by: John W. Linville <linville@tuxdriver.com> >--- > drivers/net/wireless/prism54/isl_ioctl.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/drivers/net/wireless/prism54/isl_ioctl.c b/drivers/net/wireless/prism54/isl_ioctl.c >index 2d91a56..2e25e19 100644 >--- a/drivers/net/wireless/prism54/isl_ioctl.c >+++ b/drivers/net/wireless/prism54/isl_ioctl.c >@@ -218,7 +218,7 @@ prism54_get_wireless_stats(struct net_device *ndev) > islpci_private *priv = netdev_priv(ndev); > > /* If the stats are being updated return old data */ >- if (mutex_trylock(&priv->stats_lock) == 0) { >+ if (mutex_trylock(&priv->stats_lock)) { > memcpy(&priv->iwstatistics, &priv->local_iwstatistics, > sizeof (struct iw_statistics)); > /* They won't be marked updated for the next time */ >-- >1.5.3.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 438912
:
299083
| 299218