]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix monitor mode injection
authorFelix Fietkau <nbd@openwrt.org>
Sun, 13 Jan 2013 22:10:26 +0000 (23:10 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 16 Jan 2013 14:09:31 +0000 (15:09 +0100)
commita99d426010a9a2730a5a7e6131f6dde0b18d8952
tree062425959161236359bf628017cb6d940e09aabe
parentdfaf9a3603ed5e6a68c22a432b9409e0cce36470
mac80211: fix monitor mode injection

Channel contexts are not always used with monitor interfaces. If no channel
context is set, use the oper channel, otherwise tx fails.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
[check local->use_chanctx]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c