mac80211: fix TX error path
authorJohannes Berg <johannes.berg@intel.com>
Wed, 7 Nov 2012 13:02:30 +0000 (14:02 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 7 Nov 2012 17:01:54 +0000 (18:01 +0100)
commit1c963bec3534b175eed6f216a9d6ed6f082fe740
treef70e477a8cfcf6c7b9010f8ebaf2290182320018
parent4afebd6364903d9616073b1fb71a75291e55dfec
mac80211: fix TX error path

One error path in ieee80211_subif_start_xmit() will
double-free the SKB. Set it to NULL to prevent that.

This issue was introduced by my channel context
changes.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c