]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: deny new interface addtion on IBSS mode
authorRajkumar Manoharan <rmanoharan@atheros.com>
Mon, 4 Apr 2011 17:26:16 +0000 (22:56 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 7 Apr 2011 19:34:15 +0000 (15:34 -0400)
commit558291b62c8eb3b33d5a1b2a495b387cf332da29
treee2a0a7e3237f74f639807bc61e57155913ddb989
parentf9cab6cfb484ff0241e8e059384b90d471f58994
ath9k: deny new interface addtion on IBSS mode

The present check denies the IBSS interface addtion if we
already have any other vifs. But it fails to deny interface
addition if IBSS was already present.

Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/main.c