mac80211: Do not send rc updates to driver before it's initialized station.

This prevents a race condition where the driver may receive updates before it's
fininished initialzing.


See upstream discussion at:

To reproduce, I added udelay(1000) in sta_info_insert_finish() before calling
sta_info_insert_drv_state(). Then if I run two scripts below on the client,
I can reproduce in seconds without the patch. With the patch it no longer

while :; do
  iw wlan0 connect <SSID>
  sleep 0.1
  iw wlan0 disconnect
  sleep 0.1

while :; do
  iw dev wlan0 set power_save off
  iw dev wlan0 set power_save on

Change-Id: I322e70470f5969cce657f26b8a0ebbd6b0670c6a
1 file changed