void wol_prepare(void);
void wol_janitor(void);
-void wol_rx(const unsigned int rx_filter __unused, const struct ieee80211_hdr *hdr __unused, const unsigned int len __unused);
+void wol_rx(const unsigned int rx_filter __unused,
+ const struct ieee80211_hdr *hdr __unused,
+ const unsigned int len __unused);
void wol_cmd(const struct carl9170_wol_cmd *cmd);
#else
-inline static void wol_cmd(const struct carl9170_wol_cmd *cmd __unused)
+static inline void wol_cmd(const struct carl9170_wol_cmd *cmd __unused)
{
}
-inline static void wol_prepare(void)
+static inline void wol_prepare(void)
{
}
-inline static void wol_janitor(void)
+static inline void wol_janitor(void)
{
}
-inline static void wol_rx(const unsigned int rx_filter __unused, const struct ieee80211_hdr *hdr __unused, const unsigned int len __unused)
+static inline void wol_rx(const unsigned int rx_filter __unused,
+ const struct ieee80211_hdr *hdr __unused,
+ const unsigned int len __unused)
{
}
#endif /* CONFIG_CARL9170FW_WOL */
resp->hdr.len = 0;
disable_key(&cmd->disablekey);
break;
-#endif /* CONFIG_CARL9170FW_SECURIT_ENGINE */
+#endif /* CONFIG_CARL9170FW_SECURITY_ENGINE */
#ifdef CONFIG_CARL9170FW_RADIO_FUNCTIONS
case CARL9170_CMD_FREQUENCY:
fw.phy.psm.state = le32_to_cpu(cmd->psm.state);
rf_psm();
break;
-#endif /* CONFIG_CARL9170FW_RADIO_FUNCTIOS */
+#endif /* CONFIG_CARL9170FW_RADIO_FUNCTIONS */
default:
BUG("Unknown command %x\n", cmd->hdr.cmd);