ar71xx: fix syntax for TP-LINK TL-WR941N/ND / Rosewill RNX-N360RT detection

[ ] conditions should use = instead of == for string equality.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42796 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
John Crispin
2014-10-06 04:53:25 +00:00
parent 8ae697d7f2
commit ac7e01ea5e

View File

@@ -152,7 +152,7 @@ tplink_board_detect() {
model="TP-Link TL-WA901N/ND"
;;
"094100"*)
if [ "$hwid" == "09410002" -a "$mid" == "00420001" ]; then
if [ "$hwid" = "09410002" -a "$mid" = "00420001" ]; then
model="Rosewill RNX-N360RT"
hwver=""
else