Commit c393862f authored by Masanari Iida's avatar Masanari Iida Committed by John W. Linville

wireless: Fix typo in mac80211_hwsim.c

Correct spelling "occured" to "occurred" in
drivers/net/wireless/mac80211_hwsim.c
Signed-off-by: default avatarMasanari Iida <standby24x7@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 2ed71884
...@@ -592,7 +592,7 @@ static void mac80211_hwsim_tx_frame_nl(struct ieee80211_hw *hw, ...@@ -592,7 +592,7 @@ static void mac80211_hwsim_tx_frame_nl(struct ieee80211_hw *hw,
return; return;
nla_put_failure: 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, static bool mac80211_hwsim_tx_frame_no_nl(struct ieee80211_hw *hw,
...@@ -1564,7 +1564,7 @@ static int hwsim_cloned_frame_received_nl(struct sk_buff *skb_2, ...@@ -1564,7 +1564,7 @@ static int hwsim_cloned_frame_received_nl(struct sk_buff *skb_2,
return 0; return 0;
err: 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; goto out;
out: out:
dev_kfree_skb(skb); dev_kfree_skb(skb);
...@@ -1584,7 +1584,7 @@ static int hwsim_register_received_nl(struct sk_buff *skb_2, ...@@ -1584,7 +1584,7 @@ static int hwsim_register_received_nl(struct sk_buff *skb_2,
return 0; return 0;
out: 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; return -EINVAL;
} }
...@@ -1647,7 +1647,7 @@ static int hwsim_init_netlink(void) ...@@ -1647,7 +1647,7 @@ static int hwsim_init_netlink(void)
return 0; return 0;
failure: 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; return -EINVAL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment