mwl8k: Do not configure tx power unconditionally
authorNishant Sarmukadam <nishants@marvell.com>
Tue, 5 Apr 2011 08:48:09 +0000 (14:18 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 7 Apr 2011 19:49:40 +0000 (15:49 -0400)
commit0321708748d8f2ecfffa4a9feafb332312e4e57f
tree303f04a76b6577adeea6c27ca83c3841b35a2ac0
parent99e4d43ad5ff5778f92ee3bc40a29ac7cd8a28f4
mwl8k: Do not configure tx power unconditionally

Instead of configuring tx power unconditionally, check for
IEEE80211_CONF_CHANGE_POWER and configure it only when stack
sets this flag

Signed-off-by: Nishant Sarmukadam <nishants@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c