mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[mac80211] Update to compat-wireless-2009-03-31
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15083 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
25
package/mac80211/patches/301-rt2x00-Fix-Sparse-warning.patch
Normal file
25
package/mac80211/patches/301-rt2x00-Fix-Sparse-warning.patch
Normal file
@@ -0,0 +1,25 @@
|
||||
From 0a807e9fbd915d2c0cc30870403a571478a9191b Mon Sep 17 00:00:00 2001
|
||||
From: Ivo van Doorn <IvDoorn@gmail.com>
|
||||
Date: Sat, 28 Mar 2009 20:31:25 +0100
|
||||
Subject: [PATCH 2/9] rt2x00: Fix Sparse warning
|
||||
|
||||
rt2x00link_reset_qual() is not declared in a header,
|
||||
and is only internally used within rt2x00link.c.
|
||||
It should be declared as static.
|
||||
|
||||
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
|
||||
---
|
||||
drivers/net/wireless/rt2x00/rt2x00link.c | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
--- a/drivers/net/wireless/rt2x00/rt2x00link.c
|
||||
+++ b/drivers/net/wireless/rt2x00/rt2x00link.c
|
||||
@@ -387,7 +387,7 @@ void rt2x00link_reset_tuner(struct rt2x0
|
||||
rt2x00link_antenna_reset(rt2x00dev);
|
||||
}
|
||||
|
||||
-void rt2x00link_reset_qual(struct rt2x00_dev *rt2x00dev)
|
||||
+static void rt2x00link_reset_qual(struct rt2x00_dev *rt2x00dev)
|
||||
{
|
||||
struct link_qual *qual = &rt2x00dev->link.qual;
|
||||
|
||||
Reference in New Issue
Block a user