diff options
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r-- | net/mac80211/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 9ad4e3631b6b..e19be27a3def 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c | |||
@@ -385,8 +385,8 @@ static int ieee80211_open(struct net_device *dev) | |||
385 | * yet be effective. Trigger execution of ieee80211_sta_work | 385 | * yet be effective. Trigger execution of ieee80211_sta_work |
386 | * to fix this. | 386 | * to fix this. |
387 | */ | 387 | */ |
388 | if(sdata->vif.type == IEEE80211_IF_TYPE_STA || | 388 | if (sdata->vif.type == IEEE80211_IF_TYPE_STA || |
389 | sdata->vif.type == IEEE80211_IF_TYPE_IBSS) { | 389 | sdata->vif.type == IEEE80211_IF_TYPE_IBSS) { |
390 | struct ieee80211_if_sta *ifsta = &sdata->u.sta; | 390 | struct ieee80211_if_sta *ifsta = &sdata->u.sta; |
391 | queue_work(local->hw.workqueue, &ifsta->work); | 391 | queue_work(local->hw.workqueue, &ifsta->work); |
392 | } | 392 | } |
@@ -1482,7 +1482,7 @@ void ieee80211_tx_status(struct ieee80211_hw *hw, struct sk_buff *skb, | |||
1482 | return; | 1482 | return; |
1483 | } | 1483 | } |
1484 | 1484 | ||
1485 | rthdr = (struct ieee80211_tx_status_rtap_hdr*) | 1485 | rthdr = (struct ieee80211_tx_status_rtap_hdr *) |
1486 | skb_push(skb, sizeof(*rthdr)); | 1486 | skb_push(skb, sizeof(*rthdr)); |
1487 | 1487 | ||
1488 | memset(rthdr, 0, sizeof(*rthdr)); | 1488 | memset(rthdr, 0, sizeof(*rthdr)); |