mac80211: tx, use dev_kfree_skb_any for beacon_get
authorJiri Slaby <jirislaby@gmail.com>
Mon, 14 Jul 2008 10:43:23 +0000 (12:43 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 29 Jul 2008 20:55:07 +0000 (16:55 -0400)
commit1b0241656b658522a15e7aad570cb8ea6b255a2a
tree295fa561fe5cae3d50fece17f7d7018fe61983f1
parent9c0ab712c7e40b61063431cae74a3e763535a4e7
mac80211: tx, use dev_kfree_skb_any for beacon_get

Use dev_kfree_skb_any(); instead of dev_kfree_skb();, since
ieee80211_beacon_get function might be called from atomic.
(It's in a fail path.)

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: Michael Wu <flamingice@sourmilk.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/tx.c