From: Jouni Malinen Date: Tue, 10 Jun 2008 16:28:39 +0000 (+0300) Subject: Use _irqsafe versions of ieee80211 rx and tx_status functions X-Git-Tag: hostap_0_6_4~25 X-Git-Url: http://www.project-moonshot.org/gitweb/?a=commitdiff_plain;h=2b5ac52ee0acba7942645fd909e150c24873fd48;hp=badba00bd459e80e9dc558eec475e20d7be7c5a6;p=libeap.git Use _irqsafe versions of ieee80211 rx and tx_status functions --- 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; }