hostap: Fix typo in hostap_hw.c
Correct spelling "reseting" to "resetting" in drivers/net/wireless/hostap/hostap_hw.c Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
933025492f
commit
7d65fd76e7
|
@ -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)
|
||||||
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;
|
||||||
|
|
Loading…
Reference in New Issue