[PATCH] bcm43xx: fix iwmode crash when down
commit5b4b9775a00c20ade1b1ac8aa25e0e4059d6243e
authorMichael Buesch <mb@bu3sch.de>
Mon, 1 May 2006 20:43:00 +0000 (1 22:43 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 5 May 2006 20:55:23 +0000 (5 16:55 -0400)
tree43edebf7ae16ec11e6a644a681c21192a0cc8a35
parentd57336e3f2dd7c2d1fbe4a8323029869fb6e1f00
[PATCH] bcm43xx: fix iwmode crash when down

This fixes a crash when

iwconfig ethX mode foo

is done before

ifconfig ethX up

or after

ifconfig ethX down

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/bcm43xx/bcm43xx_wx.c