mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 11:23:09 -04:00
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: Brett Rudley <brudley@broadcom.com> Reviewed-by: Roland Vossen <rvossen@broadcom.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
cf60191a2d
commit
77919fd72e
@@ -2311,6 +2311,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 */
|
||||
|
||||
Reference in New Issue
Block a user