2012-06-02 00:17:04 +03:00
|
|
|
--- a/drivers/net/wireless/brcm80211/brcmsmac/main.c
|
|
|
|
+++ b/drivers/net/wireless/brcm80211/brcmsmac/main.c
|
2012-07-10 03:21:25 +03:00
|
|
|
@@ -4220,9 +4220,8 @@ static void brcms_c_radio_timer(void *ar
|
2012-06-02 00:17:04 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* common low-level watchdog code */
|
|
|
|
-static void brcms_b_watchdog(void *arg)
|
|
|
|
+static void brcms_b_watchdog(struct brcms_c_info *wlc)
|
|
|
|
{
|
|
|
|
- struct brcms_c_info *wlc = (struct brcms_c_info *) arg;
|
|
|
|
struct brcms_hardware *wlc_hw = wlc->hw;
|
|
|
|
|
|
|
|
BCMMSG(wlc->wiphy, "wl%d\n", wlc_hw->unit);
|
2012-07-10 03:21:25 +03:00
|
|
|
@@ -4243,10 +4242,8 @@ static void brcms_b_watchdog(void *arg)
|
2012-06-02 00:17:04 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* common watchdog code */
|
|
|
|
-static void brcms_c_watchdog(void *arg)
|
|
|
|
+static void brcms_c_watchdog(struct brcms_c_info *wlc)
|
|
|
|
{
|
|
|
|
- struct brcms_c_info *wlc = (struct brcms_c_info *) arg;
|
|
|
|
-
|
|
|
|
BCMMSG(wlc->wiphy, "wl%d\n", wlc->pub->unit);
|
|
|
|
|
|
|
|
if (!wlc->pub->up)
|
2012-07-10 03:21:25 +03:00
|
|
|
@@ -4286,7 +4283,9 @@ static void brcms_c_watchdog(void *arg)
|
2012-06-02 00:17:04 +03:00
|
|
|
|
|
|
|
static void brcms_c_watchdog_by_timer(void *arg)
|
|
|
|
{
|
|
|
|
- brcms_c_watchdog(arg);
|
|
|
|
+ struct brcms_c_info *wlc = (struct brcms_c_info *) arg;
|
|
|
|
+
|
|
|
|
+ brcms_c_watchdog(wlc);
|
|
|
|
}
|
|
|
|
|
|
|
|
static bool brcms_c_timers_init(struct brcms_c_info *wlc, int unit)
|