Skip to content

Commit

Permalink
wireless: Fix typo in mac80211_hwsim.c
Browse files Browse the repository at this point in the history
Correct spelling "occured" to "occurred" in
drivers/net/wireless/mac80211_hwsim.c

Signed-off-by: Masanari Iida <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
  • Loading branch information
standby24x7 authored and Jiri Kosina committed Feb 21, 2012
1 parent edbfc1b commit 625e32e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/net/wireless/mac80211_hwsim.c
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ static void mac80211_hwsim_tx_frame_nl(struct ieee80211_hw *hw,
return;

nla_put_failure:
printk(KERN_DEBUG "mac80211_hwsim: error occured in %s\n", __func__);
printk(KERN_DEBUG "mac80211_hwsim: error occurred in %s\n", __func__);
}

static bool mac80211_hwsim_tx_frame_no_nl(struct ieee80211_hw *hw,
Expand Down Expand Up @@ -1564,7 +1564,7 @@ static int hwsim_cloned_frame_received_nl(struct sk_buff *skb_2,

return 0;
err:
printk(KERN_DEBUG "mac80211_hwsim: error occured in %s\n", __func__);
printk(KERN_DEBUG "mac80211_hwsim: error occurred in %s\n", __func__);
goto out;
out:
dev_kfree_skb(skb);
Expand All @@ -1584,7 +1584,7 @@ static int hwsim_register_received_nl(struct sk_buff *skb_2,

return 0;
out:
printk(KERN_DEBUG "mac80211_hwsim: error occured in %s\n", __func__);
printk(KERN_DEBUG "mac80211_hwsim: error occurred in %s\n", __func__);
return -EINVAL;
}

Expand Down Expand Up @@ -1647,7 +1647,7 @@ static int hwsim_init_netlink(void)
return 0;

failure:
printk(KERN_DEBUG "mac80211_hwsim: error occured in %s\n", __func__);
printk(KERN_DEBUG "mac80211_hwsim: error occurred in %s\n", __func__);
return -EINVAL;
}

Expand Down

0 comments on commit 625e32e

Please sign in to comment.