Commit 77919fd7 authored by Arend van Spriel's avatar Arend van Spriel Committed by Greg Kroah-Hartman

staging: brcm80211: remove warning introduced by rfkill implementation

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: default avatarBrett Rudley <brudley@broadcom.com>
Reviewed-by: default avatarRoland Vossen <rvossen@broadcom.com>
Signed-off-by: default avatarArend van Spriel <arend@broadcom.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent cf60191a
...@@ -2311,6 +2311,11 @@ void wlc_radio_mpc_upd(struct wlc_info *wlc) ...@@ -2311,6 +2311,11 @@ void wlc_radio_mpc_upd(struct wlc_info *wlc)
*/ */
static void wlc_radio_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 */ /* maintain LED behavior in down state */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment