b43: fix the wrong assignment of status.freq in b43_rx()
authorZHAO Gang <gamerh2o@gmail.com>
Fri, 17 Jan 2014 16:17:38 +0000 (00:17 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 23 Jan 2014 19:02:45 +0000 (14:02 -0500)
commit64e5acb09ca6b50c97299cff9ef51299470b29f2
tree818435d4ecfca4590dad1dbd1ff484bf7d963f61
parent09e65f5b2b9cf0d1fd0c2f2c40f0c48f05319cf6
b43: fix the wrong assignment of status.freq in b43_rx()

Use the right function to update frequency value.

If rx skb is probe response or beacon, the wrong frequency value can
cause problem that bss info can't be updated when it should be.

Cc: <stable@vger.kernel.org>
Fixes: 8318d78a44d4 ("cfg80211 API for channels/bitrates, mac80211
and driver conversion")
Signed-off-by: ZHAO Gang <gamerh2o@gmail.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/xmit.c