aboutsummaryrefslogtreecommitdiffstats
path: root/mac80211_hwsim
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-06-10 19:28:39 +0300
committerJouni Malinen <j@w1.fi>2008-06-10 19:28:39 +0300
commit2b5ac52ee0acba7942645fd909e150c24873fd48 (patch)
tree8d0432cec2b9393a5da572922f1977206af30df4 /mac80211_hwsim
parentbadba00bd459e80e9dc558eec475e20d7be7c5a6 (diff)
downloadexternal_wpa_supplicant_8_ti-2b5ac52ee0acba7942645fd909e150c24873fd48.zip
external_wpa_supplicant_8_ti-2b5ac52ee0acba7942645fd909e150c24873fd48.tar.gz
external_wpa_supplicant_8_ti-2b5ac52ee0acba7942645fd909e150c24873fd48.tar.bz2
Use _irqsafe versions of ieee80211 rx and tx_status functions
Diffstat (limited to 'mac80211_hwsim')
-rw-r--r--mac80211_hwsim/mac80211_hwsim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mac80211_hwsim/mac80211_hwsim.c b/mac80211_hwsim/mac80211_hwsim.c
index 3753421..219ae21 100644
--- a/mac80211_hwsim/mac80211_hwsim.c
+++ b/mac80211_hwsim/mac80211_hwsim.c
@@ -185,14 +185,14 @@ static int mac80211_hwsim_tx(struct ieee80211_hw *hw, struct sk_buff *skb,
if (nskb == NULL)
continue;
- ieee80211_rx(hwsim_radios[i], nskb, &rx_status);
+ ieee80211_rx_irqsafe(hwsim_radios[i], nskb, &rx_status);
}
memset(&tx_status, 0, sizeof(tx_status));
memcpy(&tx_status.control, control, sizeof(*control));
/* TODO: proper ACK determination */
tx_status.flags = IEEE80211_TX_STATUS_ACK;
- ieee80211_tx_status(hw, skb, &tx_status);
+ ieee80211_tx_status_irqsafe(hw, skb, &tx_status);
return NETDEV_TX_OK;
}