]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mwl8k: ->add_interface() is not called for monitor interfaces
authorLennert Buytenhek <buytenh@wantstofly.org>
Thu, 16 Jul 2009 12:15:44 +0000 (14:15 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 20 Aug 2009 15:38:05 +0000 (11:38 -0400)
commit240e86efd60e6bc232a072273a7f7794bcb035e0
tree01beb81eaf7f3efb751edc63563a3c46454ef3ec
parente81cd2d664fe5b75a0db9bb24b43c0dfbde32319
mwl8k: ->add_interface() is not called for monitor interfaces

There is no need to check for NL80211_IFTYPE_MONITOR in
->add_interface(), as this function is never called for monitor
interfaces.  Also, there is no need to advertise this bit in our
wiphy's ->interface_modes.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c