From: Christian Lamparter Date: Wed, 23 Nov 2011 23:41:28 +0000 (+0100) Subject: carl9170 firmware: fix minute errors X-Git-Tag: 1.9.5~15 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=1901714988254b9098d299768bbfd6331c2d1ee4;p=carl9170fw.git carl9170 firmware: fix minute errors * typos in comments * inline static vs. static inline * line too long Signed-off-by: Christian Lamparter --- diff --git a/carlfw/include/wol.h b/carlfw/include/wol.h index 8b131ac..829400a 100644 --- a/carlfw/include/wol.h +++ b/carlfw/include/wol.h @@ -38,24 +38,28 @@ struct ieee80211_hdr; 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 */ diff --git a/carlfw/src/cmd.c b/carlfw/src/cmd.c index e1dcbb0..5382083 100644 --- a/carlfw/src/cmd.c +++ b/carlfw/src/cmd.c @@ -125,7 +125,7 @@ void handle_cmd(struct carl9170_rsp *resp) 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: @@ -145,7 +145,7 @@ void handle_cmd(struct carl9170_rsp *resp) 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);