diff options
Diffstat (limited to 'drivers/net/wireless/hostap/hostap_main.c')
-rw-r--r-- | drivers/net/wireless/hostap/hostap_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/hostap/hostap_main.c b/drivers/net/wireless/hostap/hostap_main.c index c2616e7b0059..1f9edd91565d 100644 --- a/drivers/net/wireless/hostap/hostap_main.c +++ b/drivers/net/wireless/hostap/hostap_main.c | |||
@@ -1064,7 +1064,7 @@ int prism2_sta_send_mgmt(local_info_t *local, u8 *dst, u16 stype, | |||
1064 | 1064 | ||
1065 | skb->dev = dev; | 1065 | skb->dev = dev; |
1066 | skb_reset_mac_header(skb); | 1066 | skb_reset_mac_header(skb); |
1067 | skb->nh.raw = skb->data; | 1067 | skb_reset_network_header(skb); |
1068 | dev_queue_xmit(skb); | 1068 | dev_queue_xmit(skb); |
1069 | 1069 | ||
1070 | return 0; | 1070 | return 0; |