提交 7d65fd76 编写于 作者: M Masanari Iida 提交者: Jiri Kosina

hostap: Fix typo in hostap_hw.c

Correct spelling "reseting" to "resetting" in
drivers/net/wireless/hostap/hostap_hw.c
Signed-off-by: NMasanari Iida <standby24x7@gmail.com>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 93302549
...@@ -1470,7 +1470,7 @@ static int prism2_hw_enable(struct net_device *dev, int initial) ...@@ -1470,7 +1470,7 @@ static int prism2_hw_enable(struct net_device *dev, int initial)
* before it starts acting as an AP, so reset port automatically * before it starts acting as an AP, so reset port automatically
* here just in case */ * here just in case */
if (initial && prism2_reset_port(dev)) { if (initial && prism2_reset_port(dev)) {
printk("%s: MAC port 0 reseting failed\n", dev->name); printk("%s: MAC port 0 resetting failed\n", dev->name);
return 1; return 1;
} }
...@@ -1561,7 +1561,7 @@ static void prism2_hw_reset(struct net_device *dev) ...@@ -1561,7 +1561,7 @@ static void prism2_hw_reset(struct net_device *dev)
static long last_reset = 0; static long last_reset = 0;
/* do not reset card more than once per second to avoid ending up in a /* do not reset card more than once per second to avoid ending up in a
* busy loop reseting the card */ * busy loop resetting the card */
if (time_before_eq(jiffies, last_reset + HZ)) if (time_before_eq(jiffies, last_reset + HZ))
return; return;
last_reset = jiffies; last_reset = jiffies;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册