Greg,
Please discard this patch.
Thanks,
AvS
On Thu, 10 Feb 2011 15:15:29 +0100, Arend van Spriel <arend@xxxxxxxxxxxx>
wrote:
During rfkill implementation the content of wlc_radio_upd function
was removed for testing purposes only. This ended up in the patch
sent out. This commit restores the function content, which was the
only function calling static function wlc_radio_enable. This removes
the compilation warning observed.
Reviewed-by: Brett Rudley <brudley@xxxxxxxxxxxx>
Reviewed-by: Roland Vossen <rvossen@xxxxxxxxxxxx>
Signed-off-by: Arend van Spriel <arend@xxxxxxxxxxxx>
---
drivers/staging/brcm80211/brcmsmac/wlc_mac80211.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/drivers/staging/brcm80211/brcmsmac/wlc_mac80211.c
b/drivers/staging/brcm80211/brcmsmac/wlc_mac80211.c
index b05a491..80e0415 100644
--- a/drivers/staging/brcm80211/brcmsmac/wlc_mac80211.c
+++ b/drivers/staging/brcm80211/brcmsmac/wlc_mac80211.c
@@ -2306,6 +2306,11 @@ void wlc_radio_mpc_upd(struct wlc_info *wlc)
*/
static void wlc_radio_upd(struct wlc_info *wlc)
{
+ if (wlc->pub->radio_disabled) {
+ wlc_radio_disable(wlc);
+ } else {
+ wlc_radio_enable(wlc);
+ }
}
/* maintain LED behavior in down state */
--
"The most merciful thing in the world, I think, is the inability of the
human
mind to correlate all its contents." - "The Call of Cthulhu"
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel