mac80211: Call driver commands after drv_start in mac80211 restart code
authorYogesh Ashok Powar <yogeshp@marvell.com>
Fri, 30 Dec 2011 11:04:25 +0000 (16:34 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 4 Jan 2012 19:31:46 +0000 (14:31 -0500)
commit7f28197560116f08c4c27342974f9e64cab2cbb1
tree6d66241d34a6f5a7825d8a00839e940146a33c54
parent98f0a5eb02bbfff662664bf65f469dc4abd701fd
mac80211: Call driver commands after drv_start in mac80211 restart code

Ideally, hardware/firmware initialization is complete after the
drv_start routine. In mac80211 restart code (ieee80211_reconfig),
defer calling the driver commands i.e. setup fragmentation
threshold, rts threshold and coverage class till drv_start
routine is called.

Signed-off-by: Nishant Sarmukadam <nishants@marvell.com>
Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com>
v2: Removed extra blank line added.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/util.c